diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2012-07-26 17:01:55 +0200 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-07-26 17:02:07 +0200 |
| commit | ed34451d5b84f2e34004f2ddbceb6b0ca5cae025 (patch) | |
| tree | 6df50040e3a4ff48e336bcba1306c181d5c033f0 /phpBB/install/index.php | |
| parent | a9c10a480ce10ebecd9f83e4c362729872f08678 (diff) | |
| download | forums-ed34451d5b84f2e34004f2ddbceb6b0ca5cae025.tar forums-ed34451d5b84f2e34004f2ddbceb6b0ca5cae025.tar.gz forums-ed34451d5b84f2e34004f2ddbceb6b0ca5cae025.tar.bz2 forums-ed34451d5b84f2e34004f2ddbceb6b0ca5cae025.tar.xz forums-ed34451d5b84f2e34004f2ddbceb6b0ca5cae025.zip | |
[feature/dic] Adjust installer script to work with partially configured container
PHPBB3-10739
Diffstat (limited to 'phpBB/install/index.php')
| -rw-r--r-- | phpBB/install/index.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 1ba0798abc..3c1d60f554 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -90,20 +90,14 @@ $phpbb_container = new ContainerBuilder(); $loader = new YamlFileLoader($phpbb_container, new FileLocator(__DIR__.'/../config')); $loader->load('services.yml'); -$processor = new phpbb_di_processor_config($phpbb_root_path . 'config.' . $phpEx, $phpbb_root_path, $phpEx); -$processor->process($phpbb_container); +$phpbb_container->setParameter('core.root_path', $phpbb_root_path); +$phpbb_container->setParameter('core.php_ext', $phpEx); -$phpbb_container->setAlias('cache.driver.install', 'cache.driver'); +$phpbb_container->setAlias('cache.driver', 'cache.driver.install'); $phpbb_class_loader = $phpbb_container->get('class_loader'); $phpbb_class_loader_ext = $phpbb_container->get('class_loader.ext'); -$ids = array_keys($phpbb_container->findTaggedServiceIds('container.processor')); -foreach ($ids as $id) { - $processor = $phpbb_container->get($id); - $processor->process($phpbb_container); -} - // set up caching $cache = $phpbb_container->get('cache'); |
