mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-20 07:42:09 +02:00
[feature/system-cron] Updated includes after moving files.
PHPBB3-9596
This commit is contained in:
parent
b620f29937
commit
8f567a21a3
@ -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…
x
Reference in New Issue
Block a user