X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=4f23db6d8f300bd8e42732cee9df1cc44594a261;hb=7c73e8634c954cc2bd0d1138729459d7d5090f62;hp=f08451ba70446d380b75170c04272f721594d13e;hpb=cbc32143d7c9a70fa89238e5a75a22c4b8eacc41;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index f08451ba70..4f23db6d8f 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -1,21 +1,38 @@ L10n::t("Public access denied."), + "description" => L10n::t("Only logged in users are permitted to perform a probing.") + ] + ); + killme(); + } - $o .= '

Webfinger Diagnostic

'; + $o = '

Webfinger Diagnostic

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

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