mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[feature/system-cron] Cache cron's task names.
Instead of using a path relative to phpbb_root_path the path to the task directory is directly passed to the cron manager. Dummy tasks are now in the tests directory directly. PHPBB3-9596
This commit is contained in:
committed by
Oleg Pudeyev
parent
7a8233020b
commit
09b136272b
@@ -63,7 +63,7 @@ if ($config['use_system_cron'])
|
||||
{
|
||||
$use_shutdown_function = false;
|
||||
|
||||
$cron = new phpbb_cron_manager($phpbb_root_path, $phpEx);
|
||||
$cron = new phpbb_cron_manager($phpbb_root_path . 'includes/cron/task', $phpEx, $cache->get_driver());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user