Browse Source

Only allow cronjob execution from CLI

master
Sven Slootweg 9 years ago
parent
commit
bb95e924e9
  1. 4
      public_html/cron.daily.php

4
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

Loading…
Cancel
Save