X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_confirm.php;h=24e8bf106a9a938dcf6e0ddf3352b2839fcbf38f;hb=1d0d765344e155086a65b8b56c1c0ec70d9a8a15;hp=6b9bbfe133b1adf22137ab05e5bf08c2255cc3cb;hpb=b302012581143285f8354d8af76185372f707493;p=friendica.git diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 6b9bbfe133..24e8bf106a 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -432,13 +432,14 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $arr['object'] .= '' . xmlify('' . "\n"); $arr['object'] .= xmlify('' . "\n"); $arr['object'] .= '' . "\n"; + $arr['last-child'] = 1; $i = item_store($arr); $php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php'); - proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"activity\" \"$i\" &", - array(),$foo)); + //proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"activity\" \"$i\" &", array(),$foo)); + proc_run($php_path,"include/notifier.php","activity","$i"); }