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

Webfinger Diagnostic

'; @@ -11,11 +27,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;