aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-19 16:33:36 -0800
committerfriendica <info@friendica.com>2013-12-19 16:33:36 -0800
commit7c81889b3397f09dfba4f17bba99f6d1dad9d0b2 (patch)
tree9f8b091fcc204f8bbb5036ffbc1eca82c51f07d3 /include/photo
parentf8042cc4677227aca8999c875c4f6d4c7acef96c (diff)
downloadvolse-hubzilla-7c81889b3397f09dfba4f17bba99f6d1dad9d0b2.tar.gz
volse-hubzilla-7c81889b3397f09dfba4f17bba99f6d1dad9d0b2.tar.bz2
volse-hubzilla-7c81889b3397f09dfba4f17bba99f6d1dad9d0b2.zip
make default profile photo configurable - should be functional but needs admin ui
Diffstat (limited to 'include/photo')
-rw-r--r--include/photo/photo_driver.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index 8730b4298..3d8ee2196 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -576,9 +576,9 @@ function import_profile_photo($photo,$xchan) {
$photo_failure = true;
}
if($photo_failure) {
- $photo = $a->get_baseurl() . '/images/default_profile_photos/rainbow_man/175.jpg';
- $thumb = $a->get_baseurl() . '/images/default_profile_photos/rainbow_man/80.jpg';
- $micro = $a->get_baseurl() . '/images/default_profile_photos/rainbow_man/48.jpg';
+ $photo = $a->get_baseurl() . '/' . get_default_profile_photo();
+ $thumb = $a->get_baseurl() . '/' . get_default_profile_photo(80);
+ $micro = $a->get_baseurl() . '/' . get_default_profile_photo(48);
$type = 'image/jpeg';
}