aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/extension/core.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-30 14:57:19 +0200
committerTristan Darricau <github@nicofuma.fr>2014-11-20 19:00:27 +0100
commitc22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b (patch)
treed1ae777023a9985c42301f3c5d5575b8a18070bb /phpBB/phpbb/di/extension/core.php
parent6fa0ca1f96fa75624ab2b4fca8b390568440b3c1 (diff)
downloadforums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar
forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar.gz
forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar.bz2
forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.tar.xz
forums-c22562f5cdb3db9482a7c6bc2398ebb12cbcfb8b.zip
[ticket/12620] Allow the user to define multiples environments
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 ca4fa5c082..d203cc7049 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('services.yml');
+ $loader->load('config_' . ENVIRONMENT . '.yml');
}
/**