X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsettings.php;h=dbbac8bdeb3c9b14f2eededb6a74242c64889d29;hb=21693295474f5acaa21526ae05fa80a731eb1a6a;hp=32906d86e7c9017e9b31d91a081da06a94740f37;hpb=1f95ba5c344a1b17c735bf2760a169beeff864c2;p=friendica.git diff --git a/mod/settings.php b/mod/settings.php index 32906d86e7..dbbac8bdeb 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -182,8 +182,8 @@ function settings_post(&$a) { $php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php'); $url = $_SESSION['my_url']; if($url && strlen(get_config('system','directory_submit_url'))) - proc_close(proc_open("\"$php_path\" \"include/directory.php\" \"$url\" &", - array(),$foo)); + //proc_close(proc_open("\"$php_path\" \"include/directory.php\" \"$url\" &",array(),$foo)); + proc_run($php_path,"include/directory.php","$url"); } $_SESSION['theme'] = $theme;