X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofile_photo.php;h=11e671afc58a2f58e5ef51655d55a473e78aa708;hb=46ba1a46f5b7b84f6e94fdbdbe87c4f1f320c90f;hp=4e8d279a972b7ce7ec54b03ee12416a8ec627659;hpb=e43c7a44472ccdefd01104e8d919a72e10ec77c3;p=friendica.git diff --git a/mod/profile_photo.php b/mod/profile_photo.php index 4e8d279a97..11e671afc5 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -125,7 +125,7 @@ function profile_photo_post(&$a) { // Update global directory in background $url = $a->get_baseurl() . '/profile/' . $a->user['nickname']; if($url && strlen(get_config('system','directory'))) - proc_run('php',"include/directory.php","$url"); + proc_run(PRIORITY_LOW, "include/directory.php", $url); require_once('include/profile_update.php'); profile_change(); @@ -224,7 +224,7 @@ function profile_photo_content(&$a) { // Update global directory in background $url = $_SESSION['my_url']; if($url && strlen(get_config('system','directory'))) - proc_run('php',"include/directory.php","$url"); + proc_run(PRIORITY_LOW, "include/directory.php", $url); goaway($a->get_baseurl() . '/profiles'); return; // NOTREACHED