X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprobe.php;h=dfd4792c9b97131123ea81f846240fe46e11f0b6;hb=5640c42469b8ec1c5731b599b0dc9d9a0e762ce6;hp=c368a50f584be647e332b41c761144be32c0a291;hpb=20e71d21a6206c03f2137eb82edf8f8b3bc644f2;p=friendica.git diff --git a/mod/probe.php b/mod/probe.php index c368a50f58..dfd4792c9b 100644 --- a/mod/probe.php +++ b/mod/probe.php @@ -1,24 +1,31 @@ t("Public access denied."), + "description" => t("Only logged in users are permitted to perform a probing."))); + killme(); + } $o .= '

Probe Diagnostic

'; $o .= '
'; - $o .= 'Lookup address: '; - $o .= '
'; + $o .= 'Lookup address: '; + $o .= ''; $o .= '

'; - if(x($_GET,'addr')) { - + if (x($_GET, 'addr')) { $addr = trim($_GET['addr']); - $res = probe_url($addr); + $res = Probe::uri($addr, "", 0, false); $o .= '
';
-		$o .= str_replace("\n",'
',print_r($res,true)); + $o .= str_replace("\n", '
', print_r($res, true)); $o .= '
'; } + return $o; }