X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=b22b1ee64a69c4dde20dc60fa0c2e58370c72359;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=f834e4ff36e86a729499551a56b34ec6246f074d;hpb=cd3643d17485aa1000c41312f5b363788e755c49;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index f834e4ff36..b22b1ee64a 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -4,36 +4,39 @@ */ use Friendica\App; use Friendica\Core\L10n; +use Friendica\Core\System; use Friendica\Network\Probe; -use Friendica\Util\Network; function webfinger_content(App $a) { if (!local_user()) { - Network::httpStatusExit( + 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 .= '