aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/container_builder.php
diff options
context:
space:
mode:
authorMáté Bartus <mate.bartus@gmail.com>2016-12-09 12:40:57 +0100
committerMáté Bartus <mate.bartus@gmail.com>2016-12-09 12:40:57 +0100
commit54751991ad1af8c60416fac5a58abfd5d9f30f93 (patch)
tree4274d0d8437fa6b534c93ebc2a8c3bcd37f5d657 /phpBB/phpbb/di/container_builder.php
parent467e6035700bd1bb5e6f3aef803b9de617dcd4ee (diff)
parent90b59bb547844f6913cb459c21d249aec4226d56 (diff)
downloadforums-54751991ad1af8c60416fac5a58abfd5d9f30f93.tar
forums-54751991ad1af8c60416fac5a58abfd5d9f30f93.tar.gz
forums-54751991ad1af8c60416fac5a58abfd5d9f30f93.tar.bz2
forums-54751991ad1af8c60416fac5a58abfd5d9f30f93.tar.xz
forums-54751991ad1af8c60416fac5a58abfd5d9f30f93.zip
Merge pull request #4569 from marc1706/ticket/14891
[ticket/14891] Use own proxy instantiator for open_basedir compatibility
Diffstat (limited to 'phpBB/phpbb/di/container_builder.php')
-rw-r--r--phpBB/phpbb/di/container_builder.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/phpbb/di/container_builder.php b/phpBB/phpbb/di/container_builder.php
index b6854673c2..4d5f189f12 100644
--- a/phpBB/phpbb/di/container_builder.php
+++ b/phpBB/phpbb/di/container_builder.php
@@ -14,7 +14,6 @@
namespace phpbb\di;
use phpbb\filesystem\filesystem;
-use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator;
use Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\ProxyDumper;
use Symfony\Component\Config\ConfigCache;
use Symfony\Component\Config\FileLocator;
@@ -488,7 +487,7 @@ class container_builder
protected function create_container(array $extensions)
{
$container = new ContainerBuilder(new ParameterBag($this->get_core_parameters()));
- $container->setProxyInstantiator(new RuntimeInstantiator());
+ $container->setProxyInstantiator(new proxy_instantiator($this->get_cache_dir()));
$extensions_alias = array();