aboutsummaryrefslogtreecommitdiffstats
path: root/mod/post.php
diff options
context:
space:
mode:
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);
}
}