aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.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/download/file.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/download/file.php')
-rw-r--r--phpBB/download/file.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index d8fec8ef94..656f1f38d6 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -8,7 +8,6 @@
*/
use Symfony\Component\Config\FileLocator;
-use Symfony\Component\DependencyInjection\Compiler\Compiler;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
@@ -62,6 +61,12 @@ if (isset($_GET['avatar']))
$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');