diff --git a/config/config.sample.php b/config/config.sample.php index 24ba541ac5..fb2271339b 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -65,6 +65,12 @@ $CONFIG = array( /* URL to the parent directory of the 3rdparty directory, as seen by the browser */ "3rdpartyurl" => "", +/* What avatars to use. + * May be "none" for none, "local" for uploaded avatars, or "gravatar" for gravatars. + * Default is "local". + */ +"avatars" => "local", + /* Default app to load on login */ "defaultapp" => "files", diff --git a/core/img/defaultavatar.png b/core/img/defaultavatar.png new file mode 100644 index 0000000000..e9572080bb Binary files /dev/null and b/core/img/defaultavatar.png differ diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 3c1114492c..038264bd06 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -47,6 +47,7 @@