1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[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
This commit is contained in:
David King
2012-10-21 16:09:43 -04:00
committed by Igor Wiedler
parent ad3edf505a
commit cb2725dd5a
8 changed files with 856 additions and 50 deletions

View File

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