aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r--phpBB/cron.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index c40b0cdac5..8591803f30 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -16,6 +16,9 @@ $phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
+$user->session_begin();
+$auth->acl($user->data);
+
$cron_type = request_var('cron_type', '');
$use_shutdown_function = (@function_exists('register_shutdown_function')) ? true : false;