From e8d52d879baf6a35de335cb2ef6a2fb0a5eb8b3e Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 30 Jan 2011 15:28:50 -0800 Subject: [PATCH] more debugging to see if the google push hub is even trying to publish our content. --- mod/dfrn_poll.php | 1 + mod/item.php | 1 + 2 files changed, 2 insertions(+) diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index 1061cdb899..85e7fc0afd 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -26,6 +26,7 @@ function dfrn_poll_init(&$a) { } if(($dfrn_id === '') && (! x($_POST,'dfrn_id')) && ($a->argc > 1)) { + logger('dfrn_poll: public feed request from ' . $_SERVER['REMOTE_ADDR'] ); header("Content-type: application/atom+xml"); $o = get_feed_for($a, '*', $a->argv[1],$last_update); echo $o; diff --git a/mod/item.php b/mod/item.php index 11e79a7ab2..cc1886c17b 100644 --- a/mod/item.php +++ b/mod/item.php @@ -71,6 +71,7 @@ function item_post(&$a) { $location = notags(trim($_POST['location'])); $coord = notags(trim($_POST['coord'])); $verb = notags(trim($_POST['verb'])); + $emailcc = notags(trim($_POST['emailcc'])); if(! strlen($body)) { notice( t('Empty post discarded.') . EOL );