X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=b22b1ee64a69c4dde20dc60fa0c2e58370c72359;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=85d3b31200481aa01384927f9d0b206c411b333f;hpb=e36f2bb1fb3439e9993c7568e57140c4f954b772;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index 85d3b31200..b22b1ee64a 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -1,31 +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 .= '