From 5bf3ddfcf66ece4b50d5fccfd90c49005ce768ce Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 12 Nov 2012 20:59:18 -0800 Subject: got zot --- mod/post.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/post.php') 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); } } -- cgit v1.2.3