aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-07-21 21:02:55 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-07-21 21:02:55 +0200
commit50bc453aa6c91ae9c9df5cb633615825c9df7b6d (patch)
treeea051a18c77e7d4ee637f40af648f9ae5598fd4d /phpBB/common.php
parent967cc550ed9bb74480f46212768502627f26d62d (diff)
downloadforums-50bc453aa6c91ae9c9df5cb633615825c9df7b6d.tar
forums-50bc453aa6c91ae9c9df5cb633615825c9df7b6d.tar.gz
forums-50bc453aa6c91ae9c9df5cb633615825c9df7b6d.tar.bz2
forums-50bc453aa6c91ae9c9df5cb633615825c9df7b6d.tar.xz
forums-50bc453aa6c91ae9c9df5cb633615825c9df7b6d.zip
[feature/dic] Load services from extensions
PHPBB3-10739
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 406d8bb093..f958f06ce0 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -9,7 +9,6 @@
*/
use Symfony\Component\Config\FileLocator;
-use Symfony\Component\DependencyInjection\Compiler\Compiler;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
@@ -102,6 +101,12 @@ $processor->process($phpbb_container);
$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');