aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 0ac7cbbd86..3586031c36 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -239,3 +239,9 @@ foreach ($cache->obtain_hooks() as $hook)
{
@include($phpbb_root_path . 'includes/hooks/' . $hook . '.' . $phpEx);
}
+
+if (!$config['use_system_cron'])
+{
+ require($phpbb_root_path . 'includes/cron.' . $phpEx);
+ $cron = new cron();
+}