-require_once('include/Scrape.php');
-
-if(! function_exists('probe_content')) {
-function probe_content(&$a) {
+function probe_content(App $a)
+{
+ if (!local_user()) {
+ System::httpExit(403, ["title" => L10n::t("Public access denied."),
+ "description" => L10n::t("Only logged in users are permitted to perform a probing.")]);
+ killme();
+ }