This commit is contained in:
Thomas Willingham 2013-12-22 21:15:13 +00:00
parent 2074bd0a3b
commit 0d5c5187f9

View File

@ -1112,17 +1112,17 @@ function get_theme_uid() {
/** /**
* @function get_default_profile_photo($size = 175) * @function get_default_profile_photo($size = 175)
* Retrieves the path of the default_profile_photo for this system * Retrieves the path of the default_profile_photo for this system
* with the specified size. * with the specified size.
* @param int $size * @param int $size
* one of (175, 80, 48) * one of (175, 80, 48)
* @returns string * @returns string
* *
*/ */
function get_default_profile_photo($size = 175) { function get_default_profile_photo($size = 175) {
$scheme = get_config('system','default_profile_photo'); $scheme = get_config('system','default_profile_photo');
if(! $scheme) if(! $scheme)
$scheme = 'rainbow_man'; $scheme = 'rainbow_man';
return 'images/default_profile_photos/' . $scheme . '/' . $size . '.jpg'; return 'images/default_profile_photos/' . $scheme . '/' . $size . '.jpg';
} }