X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=b22b1ee64a69c4dde20dc60fa0c2e58370c72359;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=3e205ec03057afb82c686ed622a729f897243cc4;hpb=6b44fbbda03af125035c185c964f10ce78f97610;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index 3e205ec030..b22b1ee64a 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -4,35 +4,39 @@ */ use Friendica\App; use Friendica\Core\L10n; +use Friendica\Core\System; use Friendica\Network\Probe; function webfinger_content(App $a) { if (!local_user()) { - http_status_exit( + System::httpExit( 403, [ "title" => L10n::t("Public access denied."), "description" => L10n::t("Only logged in users are permitted to perform a probing.") ] ); - killme(); + exit(); } + $o = '
'; $o .= str_replace("\n", ''; } + $o .= '
', print_r($res, true)); $o .= '