X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=4f23db6d8f300bd8e42732cee9df1cc44594a261;hb=b42760b0e6b243a9ab6306a1f1440e1a2effb74e;hp=eee0580e3178c8b8a492ecf73fcbd1c718bb82fa;hpb=e67133ef5653448003ceac29147cda41a4c9e017;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index eee0580e31..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;