]> git.mxchange.org Git - friendica.git/blobdiff - mod/register.php
Totally tacky...
[friendica.git] / mod / register.php
index d885362325014e3b5d8fa7112fd0cf40be5d87e6..97038def0ba15a0d6b8b02d85aad9c10762372b9 100644 (file)
@@ -292,9 +292,8 @@ function register_post(&$a) {
        }
 
        if($netpublish && $a->config['register_policy'] != REGISTER_APPROVE) {
-               $php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
                $url = $a->get_baseurl() . "/profile/$nickname";
-               proc_run($php_path,"include/directory.php","$url");
+               proc_run('php',"include/directory.php","$url");
        }