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

[ticket/11152] Create separate function for debug-dependent container

PHPBB3-11152
This commit is contained in:
Igor Wiedler
2012-11-10 23:35:52 +01:00
parent 231d743ba9
commit 8851b797fb
4 changed files with 27 additions and 11 deletions

View File

@@ -100,7 +100,7 @@ $phpbb_class_loader_ext = new phpbb_class_loader('phpbb_ext_', "{$phpbb_root_pat
$phpbb_class_loader_ext->register();
// Set up container
$phpbb_container = phpbb_create_compiled_container(
$phpbb_container = phpbb_create_dumped_container_unless_debug(
array(
new phpbb_di_extension_config($phpbb_root_path . 'config.' . $phpEx),
new phpbb_di_extension_core($phpbb_root_path),