aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/extension/core.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-11-11 17:59:41 +0100
committerTristan Darricau <github@nicofuma.fr>2014-11-20 21:01:01 +0100
commitacc91a2bbf28656d4a6917b457ba3dd6b4e02e37 (patch)
treedda36370c55d09650d5f8a41ea69105af7b39cb8 /phpBB/phpbb/di/extension/core.php
parentc98efc53a80150b6f9189c9b194855c748e9b03d (diff)
downloadforums-acc91a2bbf28656d4a6917b457ba3dd6b4e02e37.tar
forums-acc91a2bbf28656d4a6917b457ba3dd6b4e02e37.tar.gz
forums-acc91a2bbf28656d4a6917b457ba3dd6b4e02e37.tar.bz2
forums-acc91a2bbf28656d4a6917b457ba3dd6b4e02e37.tar.xz
forums-acc91a2bbf28656d4a6917b457ba3dd6b4e02e37.zip
[ticket/12620] Use the container to get the environment name
PHPBB3-12620
Diffstat (limited to 'phpBB/phpbb/di/extension/core.php')
-rw-r--r--phpBB/phpbb/di/extension/core.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/di/extension/core.php b/phpBB/phpbb/di/extension/core.php
index 62fcf46ad5..ce0d4a869c 100644
--- a/phpBB/phpbb/di/extension/core.php
+++ b/phpBB/phpbb/di/extension/core.php
@@ -51,7 +51,7 @@ class core extends Extension
public function load(array $configs, ContainerBuilder $container)
{
$loader = new YamlFileLoader($container, new FileLocator(phpbb_realpath($this->config_path)));
- $loader->load(PHPBB_ENVIRONMENT . '/container/environment.yml');
+ $loader->load($container->getParameter('core.environment') . '/container/environment.yml');
$config = $this->getConfiguration($configs, $container);
$config = $this->processConfiguration($config, $configs);