X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fwebfinger.php;h=d72315a5b51e77c25444fa363885074910f0b7b5;hb=52625653d389c9c8d484781059a11f626e8f6a7a;hp=4024671b02f271c5a31956b58d54bb98afaf2259;hpb=db949bb802448184bfe5164d8d3dd86ddf51b187;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index 4024671b02..d72315a5b5 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -1,7 +1,16 @@ t("Public access denied."), + "description" => t("Only logged in users are permitted to perform a probing."))); + killme(); + } $o .= '

Webfinger Diagnostic

'; @@ -13,14 +22,10 @@ function webfinger_content(&$a) { if(x($_GET,'addr')) { $addr = trim($_GET['addr']); - if(strpos($addr,'@' !== false)) - $res = webfinger($addr); - else - $res = lrdd($addr); + $res = Probe::lrdd($addr); $o .= '
';
 		$o .= str_replace("\n",'
',print_r($res,true)); $o .= '
'; } return $o; } -}