X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fprobe.php;h=8c951a7fcfd62f63f9c3fbe5bda5a02af735ad65;hb=f146c85e75314462823076a9d89ac2e698e6de45;hp=c368a50f584be647e332b41c761144be32c0a291;hpb=479180ca8ea9fb02c8e90b0017d2f584aa199043;p=friendica.git diff --git a/mod/probe.php b/mod/probe.php index c368a50f58..8c951a7fcf 100644 --- a/mod/probe.php +++ b/mod/probe.php @@ -2,13 +2,20 @@ require_once('include/Scrape.php'); -function probe_content(App &$a) { +function probe_content(App $a) { + + if (!local_user()) { + http_status_exit(403, + array("title" => t("Public access denied."), + "description" => t("Only logged in users are permitted to perform a probing."))); + killme(); + } $o .= '