X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprobe.php;h=5e7a5253fda20ed6c6733ce038ce88b8cdc5af38;hb=22bbfdadd058d2bddc780f220d77918cf872cb64;hp=8c951a7fcfd62f63f9c3fbe5bda5a02af735ad65;hpb=5c75fe4c1440bcb1d7d6ec2e35e3abb116638e3a;p=friendica.git diff --git a/mod/probe.php b/mod/probe.php index 8c951a7fcf..5e7a5253fd 100644 --- a/mod/probe.php +++ b/mod/probe.php @@ -1,31 +1,35 @@ t("Public access denied."), - "description" => t("Only logged in users are permitted to perform a probing."))); + System::httpExit(403, ["title" => L10n::t("Public access denied."), + "description" => L10n::t("Only logged in users are permitted to perform a probing.")]); killme(); } - $o .= '
'; - $o .= str_replace("\n",''; } + return $o; }
',print_r($res,true)); + $o .= str_replace("\n", '
', print_r($res, true)); $o .= '