]> git.mxchange.org Git - friendica.git/commitdiff
more debugging to see if the google push hub is even trying to publish our content.
authorFriendika <info@friendika.com>
Sun, 30 Jan 2011 23:28:50 +0000 (15:28 -0800)
committerFriendika <info@friendika.com>
Sun, 30 Jan 2011 23:28:50 +0000 (15:28 -0800)
mod/dfrn_poll.php
mod/item.php

index 1061cdb899d10529279b1d4b93d1f8285f3bbe2e..85e7fc0afd0eaa855b1fa834e8f0f205e49b435c 100644 (file)
@@ -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;
index 11e79a7ab291fcf3655aa07290c6e2a91c85967f..cc1886c17b64f2dfd193bfec3a6d5a2308b5e816 100644 (file)
@@ -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 );