diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-05-15 10:20:20 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-05-15 10:20:20 +0200 |
commit | de63e40a704761c2efd1e04e1313a37c43fef20e (patch) | |
tree | 6ffc31006467c3c0d868ea55db919fb17fdd4278 /include | |
parent | 803e85caeb959c730fcb69135aa2ccd55bea751b (diff) | |
download | volse-hubzilla-de63e40a704761c2efd1e04e1313a37c43fef20e.tar.gz volse-hubzilla-de63e40a704761c2efd1e04e1313a37c43fef20e.tar.bz2 volse-hubzilla-de63e40a704761c2efd1e04e1313a37c43fef20e.zip |
we must now provide the full path to the profile image for the cavatar plugin to work
Diffstat (limited to 'include')
-rw-r--r-- | include/security.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/security.php b/include/security.php index 19278d5cb..88988a7c0 100644 --- a/include/security.php +++ b/include/security.php @@ -118,10 +118,10 @@ function atoken_xchan($atoken) { 'xchan_network' => 'unknown', 'xchan_url' => z_root() . '/guest/' . substr($c['channel_hash'],0,16) . '.' . $atoken['atoken_name'], 'xchan_hidden' => 1, - 'xchan_photo_mimetype' => 'image/jpeg', - 'xchan_photo_l' => get_default_profile_photo(300), - 'xchan_photo_m' => get_default_profile_photo(80), - 'xchan_photo_s' => get_default_profile_photo(48) + 'xchan_photo_mimetype' => 'image/png', + 'xchan_photo_l' => z_root() . '/' . get_default_profile_photo(300), + 'xchan_photo_m' => z_root() . '/' . get_default_profile_photo(80), + 'xchan_photo_s' => z_root() . '/' . get_default_profile_photo(48) ]; } |