aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/extension/core.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-30 15:29:09 +0200
committerTristan Darricau <github@nicofuma.fr>2014-11-20 19:00:34 +0100
commit873260589eaa7ac2d7e520ebe321cb8bb2609ce0 (patch)
tree31c0bfed5170ab604052d5e5b0d757bc099e051e /phpBB/phpbb/di/extension/core.php
parent1a6e1ecf6f96acb7eb3fc0cc6233773ecb5125a8 (diff)
downloadforums-873260589eaa7ac2d7e520ebe321cb8bb2609ce0.tar
forums-873260589eaa7ac2d7e520ebe321cb8bb2609ce0.tar.gz
forums-873260589eaa7ac2d7e520ebe321cb8bb2609ce0.tar.bz2
forums-873260589eaa7ac2d7e520ebe321cb8bb2609ce0.tar.xz
forums-873260589eaa7ac2d7e520ebe321cb8bb2609ce0.zip
[ticket/12620] Display error message when the environment isn't available
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 d203cc7049..5fb8d9ad34 100644
--- a/phpBB/phpbb/di/extension/core.php
+++ b/phpBB/phpbb/di/extension/core.php
@@ -50,7 +50,7 @@ class core extends Extension
public function load(array $config, ContainerBuilder $container)
{
$loader = new YamlFileLoader($container, new FileLocator(phpbb_realpath($this->config_path)));
- $loader->load('config_' . ENVIRONMENT . '.yml');
+ $loader->load('environment_' . ENVIRONMENT . '.yml');
}
/**