diff options
author | Thomas Willingham <founder@kakste.com> | 2013-01-03 09:17:11 +0000 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-01-03 09:17:11 +0000 |
commit | b1a02cf450c92e88f3375d15b153d0046bc5c724 (patch) | |
tree | a3c4db0f0dd1f9b0bde31ec1f78117d9acb19907 /include/zot.php | |
parent | 577236c372b4eaa1e93d60d7bedaecea8ef8c97f (diff) | |
parent | 1e7a5560f5a5887641d120e77f0f9993bf3b58b9 (diff) | |
download | volse-hubzilla-b1a02cf450c92e88f3375d15b153d0046bc5c724.tar.gz volse-hubzilla-b1a02cf450c92e88f3375d15b153d0046bc5c724.tar.bz2 volse-hubzilla-b1a02cf450c92e88f3375d15b153d0046bc5c724.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php index 46f0bd397..5771b67d1 100644 --- a/include/zot.php +++ b/include/zot.php @@ -358,7 +358,13 @@ function zot_register_hub($arr) { $guid_hash = base64url_encode(hash('whirlpool',$arr['guid'] . $arr['guid_sig'], true)); - $x = z_fetch_url($arr['url'] . '/.well-known/zot-info/?f=&hash=' . $guid_hash); + $url = $arr['url'] . '/.well-known/zot-info/?f=&guid_hash=' . $guid_hash; + + logger('zot_register_hub: ' . $url); + + $x = z_fetch_url($url); + + logger('zot_register_hub: ' . print_r($x,true)); if($x['success']) { $record = json_decode($x['body'],true); |