aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-01-13 00:51:32 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2011-02-12 22:05:54 -0500
commit09b136272b9ec25824f1c72d0148bdfe43a43603 (patch)
treeaaadafee6c7a7dd2b0d70c7b774349561fc0fd93 /phpBB/common.php
parent7a8233020bdeb872dad6057b7799c43c1543aba4 (diff)
downloadforums-09b136272b9ec25824f1c72d0148bdfe43a43603.tar
forums-09b136272b9ec25824f1c72d0148bdfe43a43603.tar.gz
forums-09b136272b9ec25824f1c72d0148bdfe43a43603.tar.bz2
forums-09b136272b9ec25824f1c72d0148bdfe43a43603.tar.xz
forums-09b136272b9ec25824f1c72d0148bdfe43a43603.zip
[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
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index e099a324bf..68be033578 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -242,5 +242,5 @@ foreach ($cache->obtain_hooks() as $hook)
if (!$config['use_system_cron'])
{
- $cron = new phpbb_cron_manager($phpbb_root_path, $phpEx);
+ $cron = new phpbb_cron_manager($phpbb_root_path . 'includes/cron/task', $phpEx, $cache->get_driver());
}