X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprobe.php;h=5e7a5253fda20ed6c6733ce038ce88b8cdc5af38;hb=d0780ccf7dd3efb5337912dcf293617bea495d2a;hp=95f856bfa1499b77c495119196b6fd4ede39eebe;hpb=291906de5f3074407253241e5ccbb5af633e0c22;p=friendica.git diff --git a/mod/probe.php b/mod/probe.php index 95f856bfa1..5e7a5253fd 100644 --- a/mod/probe.php +++ b/mod/probe.php @@ -1,24 +1,35 @@ L10n::t("Public access denied."), + "description" => L10n::t("Only logged in users are permitted to perform a probing.")]); + killme(); + } - $o .= '

Probe Diagnostic

'; + $o = '

Probe Diagnostic

'; $o .= '
'; - $o .= 'Lookup address: '; + $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; }