From e9251499dd63523a552bc3bf6274e3b851cba4c8 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Mon, 24 Jan 2011 22:00:02 +0100 Subject: Added proc_run() and modified all occurrence of proc_close(proc_open()) to use proc_run() --- mod/dfrn_notify.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/dfrn_notify.php') diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 49356d358..39d882411 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -283,9 +283,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']); -- cgit v1.2.3