mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12620] Use the container to get the environment name
PHPBB3-12620
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user