aboutsummaryrefslogtreecommitdiffstats
path: root/mod/post.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-12 20:59:18 -0800
committerfriendica <info@friendica.com>2012-11-12 20:59:18 -0800
commit5bf3ddfcf66ece4b50d5fccfd90c49005ce768ce (patch)
tree79bfeb6df83e881816aeb8bc7271dae4f7e14582 /mod/post.php
parentb4c603cdace281f79e1738d2e006851b00af511e (diff)
downloadvolse-hubzilla-5bf3ddfcf66ece4b50d5fccfd90c49005ce768ce.tar.gz
volse-hubzilla-5bf3ddfcf66ece4b50d5fccfd90c49005ce768ce.tar.bz2
volse-hubzilla-5bf3ddfcf66ece4b50d5fccfd90c49005ce768ce.zip
got zot
Diffstat (limited to 'mod/post.php')
-rw-r--r--mod/post.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/post.php b/mod/post.php
index 82ffb5817..f84b641ca 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -9,6 +9,8 @@ require_once('include/zot.php');
function post_post(&$a) {
+ logger('mod_zot: ' . print_r($_REQUEST,true), LOGGER_DEBUG);
+
$ret = array('result' => false);
if(array_key_exists('iv',$_REQUEST)) {
@@ -31,6 +33,7 @@ function post_post(&$a) {
$result = zot_register_hub($j_sender);
if((! $result['success']) || (! zot_gethub($j_sender))) {
$ret['message'] = 'Hub not available.';
+ logger('mod_zot: no hub');
json_return_and_die($ret);
}
}