1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12620] Display error message when the environment isn't available

PHPBB3-12620
This commit is contained in:
Tristan Darricau
2014-05-30 15:29:09 +02:00
parent 1a6e1ecf6f
commit 873260589e
4 changed files with 22 additions and 3 deletions

View File

@@ -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');
}
/**