1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

[feature/system-cron] WIP on making cron tasks runnable via system cron

PHPBB3-9596
This commit is contained in:
Oleg Pudeyev
2010-04-14 16:14:32 -04:00
parent 8f0e9aee5c
commit 77d7238eef
7 changed files with 421 additions and 287 deletions

View File

@@ -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();
}