mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/system-cron] Updated includes after moving files.
PHPBB3-9596
This commit is contained in:
parent
b620f29937
commit
8f567a21a3
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue