X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fprobe.php;h=dfd4792c9b97131123ea81f846240fe46e11f0b6;hb=9f2196aa1aa0dc112e3fc238832828d4e22fe137;hp=8c951a7fcfd62f63f9c3fbe5bda5a02af735ad65;hpb=e7783e201801b279d50869ffd0f0d93bb8664e9f;p=friendica.git diff --git a/mod/probe.php b/mod/probe.php index 8c951a7fcf..dfd4792c9b 100644 --- a/mod/probe.php +++ b/mod/probe.php @@ -1,31 +1,31 @@ t("Public access denied."), - "description" => t("Only logged in users are permitted to perform a probing."))); + http_status_exit(403, array("title" => t("Public access denied."), + "description" => 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 .= '