diff --git a/cron.php b/cron.php index a6b116cb0..65db74530 100644 --- a/cron.php +++ b/cron.php @@ -24,6 +24,6 @@ */ define('START_CRON', true); -define('BB_ROOT', dirname(__FILE__) . '/'); +define('BB_ROOT', __DIR__ . '/'); require __DIR__ . '/common.php';