]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_notify.php
Merge branch 'fabrixxm-master'
[friendica.git] / mod / dfrn_notify.php
index f581702d8e23bcce60c3abd5ac327964a7a0c4c2..f904b06bc5e742740fa2df84782ca520e141c22e 100644 (file)
@@ -304,9 +304,9 @@ function dfrn_notify_post(&$a) {
 
                                        $php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
 
-                                       proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"comment-import\" \"$posted_id\" &", 
-                                               array(),$foo));
-
+                                       //proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"comment-import\" \"$posted_id\" &", array(),$foo));
+                                       proc_run($php_path,"include/notifier.php","comment-import","$posted_id");
+                                       
                                        if((! $is_like) && ($importer['notify-flags'] & NOTIFY_COMMENT) && (! $importer['self'])) {
                                                require_once('bbcode.php');
                                                $from = stripslashes($datarray['author-name']);