X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=6f49a8f28c44ebf9ea33ca2a1f3aa9778a50e7e0;hb=6e7c6ab0fa46dc3ab2f35326bc1b2c747377d509;hp=f08451ba70446d380b75170c04272f721594d13e;hpb=9ca789b9529dceedc35f637804179e1034b3f1d9;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index f08451ba70..6f49a8f28c 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -1,9 +1,26 @@ 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: '; @@ -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;