From bb95e924e9e6c7988dabdeb36435222e7f212378 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 1 Mar 2013 13:42:17 +0100 Subject: [PATCH] Only allow cronjob execution from CLI --- public_html/cron.daily.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/cron.daily.php b/public_html/cron.daily.php index 85cbfec..a553429 100644 --- a/public_html/cron.daily.php +++ b/public_html/cron.daily.php @@ -16,8 +16,8 @@ require("includes/base.php"); if(php_sapi_name() !== "cli") { - //http_status_code(403); - //die(); + http_status_code(403); + die(); } /* This cronjob will send out donation reminder e-mails for every user