X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=b22b1ee64a69c4dde20dc60fa0c2e58370c72359;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=d823bd2dc217b988c8f5d41839ee22f77bfde8a8;hpb=f99bb958f61f17e81452f3f9c4d3472c3de8b37b;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index d823bd2dc2..b22b1ee64a 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -1,29 +1,42 @@ t("Public access denied."), - "description" => t("Only logged in users are permitted to perform a probing."))); - killme(); + System::httpExit( + 403, + [ + "title" => L10n::t("Public access denied."), + "description" => L10n::t("Only logged in users are permitted to perform a probing.") + ] + ); + exit(); } + $o = '
'; - $o .= str_replace("\n",''; } + $o .= '
',print_r($res,true)); + $o .= str_replace("\n", '
', print_r($res, true)); $o .= '