aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-02 16:28:47 -0800
committerfriendica <info@friendica.com>2013-01-02 16:28:47 -0800
commit32a97d5065efbcc6897ef7598343c6973114fff4 (patch)
tree9d37176d2d9f2bdf7bc26c4db3a35e5b9fc1a82c /include/zot.php
parent4108598133eae97e7c8a0b8e13ead4856f423cff (diff)
downloadvolse-hubzilla-32a97d5065efbcc6897ef7598343c6973114fff4.tar.gz
volse-hubzilla-32a97d5065efbcc6897ef7598343c6973114fff4.tar.bz2
volse-hubzilla-32a97d5065efbcc6897ef7598343c6973114fff4.zip
zome issues registering new hubs
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php8
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);