aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers/cron_handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/handlers/cron_handler.php')
-rw-r--r--engine/handlers/cron_handler.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/handlers/cron_handler.php b/engine/handlers/cron_handler.php
index 8ca8ac8a9..9d3891892 100644
--- a/engine/handlers/cron_handler.php
+++ b/engine/handlers/cron_handler.php
@@ -13,8 +13,7 @@
* @todo
*/
-require_once("../start.php");
-global $CONFIG;
+require_once(dirname(dirname(__FILE__)) . "/start.php");
$period = get_input('period');
if (!$period) {