diff options
author | friendica <info@friendica.com> | 2012-11-12 20:59:18 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-12 20:59:18 -0800 |
commit | 5bf3ddfcf66ece4b50d5fccfd90c49005ce768ce (patch) | |
tree | 79bfeb6df83e881816aeb8bc7271dae4f7e14582 /mod/post.php | |
parent | b4c603cdace281f79e1738d2e006851b00af511e (diff) | |
download | volse-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.php | 3 |
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); } } |