diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-07 18:14:04 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-07 18:14:04 -0700 |
commit | f09fe8da7814a64e653700b4fe04f165edd90045 (patch) | |
tree | d600283ce656d88905d3cad32c1aa42a62ffef7b /Zotlabs/Module | |
parent | 4d794103be4112a6f1f0d8f54e0d54c0961297b5 (diff) | |
download | volse-hubzilla-f09fe8da7814a64e653700b4fe04f165edd90045.tar.gz volse-hubzilla-f09fe8da7814a64e653700b4fe04f165edd90045.tar.bz2 volse-hubzilla-f09fe8da7814a64e653700b4fe04f165edd90045.zip |
add logging
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Magic.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Magic.php b/Zotlabs/Module/Magic.php index 0eb2f27a1..3fe0e1e35 100644 --- a/Zotlabs/Module/Magic.php +++ b/Zotlabs/Module/Magic.php @@ -144,6 +144,9 @@ class Magic extends \Zotlabs\Web\Controller { 'acct:' . $channel['channel_address'] . '@' . \App::get_hostname(),false,true,'sha512'); $x = z_fetch_url($basepath . '/owa',false,$redirects,[ 'headers' => $headers ]); + + logger('owtfetch: ' . print_r($x,true)); + if($x['success']) { $j = json_decode($x['body'],true); if($j['success'] && $j['token']) { |