aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-10-21 16:09:43 -0400
committerIgor Wiedler <igor@wiedler.ch>2012-11-10 11:40:49 +0100
commitcb2725dd5a04118de8628e10f940e926f4fa8fa1 (patch)
treecb79bf44756d029efe62cde8d3d98cf1ae00b5a3 /phpBB/download
parentad3edf505a9e9ef7f139b033f70a1106539ce0de (diff)
downloadforums-cb2725dd5a04118de8628e10f940e926f4fa8fa1.tar
forums-cb2725dd5a04118de8628e10f940e926f4fa8fa1.tar.gz
forums-cb2725dd5a04118de8628e10f940e926f4fa8fa1.tar.bz2
forums-cb2725dd5a04118de8628e10f940e926f4fa8fa1.tar.xz
forums-cb2725dd5a04118de8628e10f940e926f4fa8fa1.zip
[feature/compiled-dic] Fix cron task loading
We cannot use container tags at run time if we are using a cached, compiled container object (i.e. phpbb_cache_container) so we have to load them beforehand. PHPBB3-11152
Diffstat (limited to 'phpBB/download')
-rw-r--r--phpBB/download/file.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index 3e71bf9961..7ffd335daa 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -63,8 +63,9 @@ if (isset($_GET['avatar']))
new phpbb_di_extension_config($phpbb_root_path . 'config.' . $phpEx),
new phpbb_di_extension_core($phpbb_root_path),
),
- array(),
- $phpbb_root_path . 'config.' . $phpEx,
+ array(
+ new phpbb_di_pass_cron(),
+ ),
$phpbb_root_path,
$phpEx
);