X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=c8867935278960b07ab235ae02fbf486277a212a;hb=0454d0a670e051e8519e9a4220606f83d1408214;hp=eee0580e3178c8b8a492ecf73fcbd1c718bb82fa;hpb=291906de5f3074407253241e5ccbb5af633e0c22;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index eee0580e31..c886793527 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -1,7 +1,24 @@ L10n::t("Public access denied."), + "description" => L10n::t("Only logged in users are permitted to perform a probing.") + ] + ); + killme(); + } $o .= '

Webfinger Diagnostic

'; @@ -11,11 +28,11 @@ function webfinger_content(App $a) { $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;