X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofile_photo.php;h=aa880905976f4e5ecf2ee12ce2d2c82be2e27343;hb=d80888842926eba272ae0e86d7666daeef201dc3;hp=6607eebd0c1e1685f8d312b37c3adf7d65278760;hpb=5a1bb9866dbb09b00861688f4a78baf0391ea58f;p=friendica.git diff --git a/mod/profile_photo.php b/mod/profile_photo.php index 6607eebd0c..aa88090597 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -118,7 +118,7 @@ function profile_photo_post(&$a) { info( t('Shift-reload the page or clear browser cache if the new photo does not display immediately.') . EOL); // Update global directory in background $url = $a->get_baseurl() . '/profile/' . $a->user['nickname']; - if($url && strlen(get_config('system','directory_submit_url'))) + if($url && strlen(get_config('system','directory'))) proc_run('php',"include/directory.php","$url"); require_once('include/profile_update.php'); @@ -217,7 +217,7 @@ function profile_photo_content(&$a) { // Update global directory in background $url = $_SESSION['my_url']; - if($url && strlen(get_config('system','directory_submit_url'))) + if($url && strlen(get_config('system','directory'))) proc_run('php',"include/directory.php","$url"); goaway($a->get_baseurl() . '/profiles');