aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Ap_probe.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-04 19:02:41 -0700
committerzotlabs <mike@macgirvin.com>2017-08-04 19:02:41 -0700
commit3aa22c29fdaaae5902be7a8ce3be89678ee6bab4 (patch)
treecdab9957f4c626cebd72a7614765fee1cebecf93 /Zotlabs/Module/Ap_probe.php
parent06a211704f6d50b11a0e1e56e2824d6431f50946 (diff)
downloadvolse-hubzilla-3aa22c29fdaaae5902be7a8ce3be89678ee6bab4.tar.gz
volse-hubzilla-3aa22c29fdaaae5902be7a8ce3be89678ee6bab4.tar.bz2
volse-hubzilla-3aa22c29fdaaae5902be7a8ce3be89678ee6bab4.zip
allow channel address to be changed
Diffstat (limited to 'Zotlabs/Module/Ap_probe.php')
-rw-r--r--Zotlabs/Module/Ap_probe.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Ap_probe.php b/Zotlabs/Module/Ap_probe.php
index 769cd4c4e..29629a8eb 100644
--- a/Zotlabs/Module/Ap_probe.php
+++ b/Zotlabs/Module/Ap_probe.php
@@ -30,6 +30,7 @@ class Ap_probe extends \Zotlabs\Web\Controller {
$redirects = 0;
$x = z_fetch_url($addr,true,$redirects, [ 'headers' => [ $headers ]]);
if($x['success'])
+ $o .= '<pre>' . $x['header'] . '</pre>' . EOL;
$o .= '<pre>' . str_replace(['\\n','\\'],["\n",''],jindent($x['body'])) . '</pre>';
}
return $o;