aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-04 20:47:44 -0700
committerFriendika <info@friendika.com>2010-11-04 20:47:44 -0700
commit4cba826a2fbe958e5c20c645db7e6932f8736f32 (patch)
tree7b0cf098e5d10246004e54e9cf9fab04c75a2b14 /mod/item.php
parent9718fffd71856f98815ecc8375afddd6b22b070c (diff)
downloadvolse-hubzilla-4cba826a2fbe958e5c20c645db7e6932f8736f32.tar.gz
volse-hubzilla-4cba826a2fbe958e5c20c645db7e6932f8736f32.tar.bz2
volse-hubzilla-4cba826a2fbe958e5c20c645db7e6932f8736f32.zip
hub anomolies & swat0 compliance
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/mod/item.php b/mod/item.php
index 0389788ec..d960b6b1f 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -301,9 +301,8 @@ function item_post(&$a) {
}
$php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
- $proc_debug = get_config('system','proc_debug');
- proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"$notify_type\" \"$post_id\" $proc_debug &",
+ proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"$notify_type\" \"$post_id\" &",
array(),$foo));
goaway($a->get_baseurl() . "/" . $_POST['return'] );
@@ -390,12 +389,10 @@ function item_content(&$a) {
}
$drop_id = intval($item['id']);
$php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
- $proc_debug = get_config('system','proc_debug');
-
// send the notification upstream/downstream as the case may be
- proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"drop\" \"$drop_id\" $proc_debug &",
+ proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"drop\" \"$drop_id\" &",
array(), $foo));
goaway($a->get_baseurl() . '/' . $_SESSION['return_url']);