make default profile photo configurable - should be functional but needs admin ui

This commit is contained in:
friendica
2013-12-19 16:33:36 -08:00
parent f8042cc467
commit 7c81889b33
12 changed files with 31 additions and 120 deletions

View File

@@ -548,7 +548,7 @@ function avatar_img($email) {
call_hooks('avatar_lookup', $avatar);
if(! $avatar['success'])
$avatar['url'] = $a->get_baseurl() . '/images/default_profile_photos/rainbow_man/175.jpg';
$avatar['url'] = $a->get_baseurl() . '/' . get_default_profile_photo();
logger('Avatar: ' . $avatar['email'] . ' ' . $avatar['url'], LOGGER_DEBUG);
return $avatar['url'];