aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/cron.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/cron.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/cron.php')
-rw-r--r--phpBB/cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index 9f13a9f462..fb85e9fe18 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -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
{