]> git.mxchange.org Git - friendica.git/blobdiff - mod/profiles.php
Totally tacky...
[friendica.git] / mod / profiles.php
index d74219501a0ce3501888994bf715e908320188af..4e3f03799a4dd5e02bb8ecba4c087cea19b29dfd 100644 (file)
@@ -200,11 +200,9 @@ function profiles_post(&$a) {
 
                if($is_default) {
                        // Update global directory in background
-                       $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_run($php_path,"include/directory.php","$url");
+                               proc_run('php',"include/directory.php","$url");
                }
        }
 }