aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/extension/core.php
diff options
context:
space:
mode:
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);