aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-25 02:53:19 -0800
committerFriendika <info@friendika.com>2010-11-25 02:53:19 -0800
commitca706ccbed47ba8bf07afaaa825088afcde8cd91 (patch)
tree0cef2bc7d3a5d54db077633dbfbf31546982fc51 /mod/item.php
parent9d7130e40382c316f5430ace4b9ca16a998a7432 (diff)
downloadvolse-hubzilla-ca706ccbed47ba8bf07afaaa825088afcde8cd91.tar.gz
volse-hubzilla-ca706ccbed47ba8bf07afaaa825088afcde8cd91.tar.bz2
volse-hubzilla-ca706ccbed47ba8bf07afaaa825088afcde8cd91.zip
added more notifier logging
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index 77fdd4a21..bd4f4d9af 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -228,6 +228,7 @@ function item_post(&$a) {
dbesc($uri));
if(count($r)) {
$post_id = $r[0]['id'];
+ logger('mod_item: saved item ' . $post_id);
if($parent) {
@@ -313,6 +314,8 @@ function item_post(&$a) {
$php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
+ logger('mod_item: notifier invoked: ' . "\"$php_path\" \"include/notifier.php\" \"$notify_type\" \"$post_id\" &");
+
proc_close(proc_open("\"$php_path\" \"include/notifier.php\" \"$notify_type\" \"$post_id\" &",
array(),$foo));