mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 16:15:22 +02:00
[ticket/11305] Use phpbb_create_default_container.
PHPBB3-11305
This commit is contained in:
parent
8d3edd4128
commit
210f627f67
@ -103,18 +103,7 @@ class install_install extends module
|
|||||||
|
|
||||||
case 'final':
|
case 'final':
|
||||||
// Create a normal container now
|
// Create a normal container now
|
||||||
$phpbb_container = phpbb_create_dumped_container_unless_debug(
|
$phpbb_container = phpbb_create_default_container($phpbb_root_path, $phpEx);
|
||||||
array(
|
|
||||||
new phpbb_di_extension_config($phpbb_root_path . 'config.' . $phpEx),
|
|
||||||
new phpbb_di_extension_core($phpbb_root_path),
|
|
||||||
),
|
|
||||||
array(
|
|
||||||
new phpbb_di_pass_collection_pass(),
|
|
||||||
new phpbb_di_pass_kernel_pass(),
|
|
||||||
),
|
|
||||||
$phpbb_root_path,
|
|
||||||
$phpEx
|
|
||||||
);
|
|
||||||
|
|
||||||
// Writes into global $cache
|
// Writes into global $cache
|
||||||
$cache = $phpbb_container->get('cache');
|
$cache = $phpbb_container->get('cache');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user