]> git.mxchange.org Git - friendica.git/blobdiff - mod/settings.php
forgot to check this in earlier... splits up text and html into two different templat...
[friendica.git] / mod / settings.php
index 32906d86e7c9017e9b31d91a081da06a94740f37..dbbac8bdeb3c9b14f2eededb6a74242c64889d29 100644 (file)
@@ -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;