1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/12620] Allow the user to define multiples environments

PHPBB3-12620
This commit is contained in:
Tristan Darricau
2014-05-30 14:57:19 +02:00
parent 6fa0ca1f96
commit c22562f5cd
21 changed files with 27 additions and 18 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('services.yml');
$loader->load('config_' . ENVIRONMENT . '.yml');
}
/**