aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_notify.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r--mod/dfrn_notify.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php
index 5f0f3451f..911d7f02c 100644
--- a/mod/dfrn_notify.php
+++ b/mod/dfrn_notify.php
@@ -170,8 +170,9 @@ function dfrn_notify_post(&$a) {
);
$url = $a->get_baseurl();
+ $php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
- proc_close(proc_open("php include/notifier.php $url comment-import $posted_id > remote-notify.log &",
+ proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"$url\" \"comment-import\" \"$posted_id\" &",
array(),$foo));
if(($importer['notify-flags'] & NOTIFY_COMMENT) && (! $importer['self'])) {