aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/common.php2
-rw-r--r--phpBB/cron.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 3586031c36..e2300f0bd5 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -242,6 +242,6 @@ foreach ($cache->obtain_hooks() as $hook)
if (!$config['use_system_cron'])
{
- require($phpbb_root_path . 'includes/cron.' . $phpEx);
+ include($phpbb_root_path . 'includes/cron/cron_manager.' . $phpEx);
$cron = new cron();
}
diff --git a/phpBB/cron.php b/phpBB/cron.php
index 2d9e6afe5d..0621d7651b 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -15,7 +15,7 @@ define('IN_CRON', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
-include($phpbb_root_path . 'includes/cron_lock.' . $phpEx);
+include($phpbb_root_path . 'includes/cron/cron_lock.' . $phpEx);
// Do not update users last page entry
$user->session_begin(false);