1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Load parameters.yml from the kernel

This commit is contained in:
Yassine Guedidi 2025-01-11 04:56:01 +01:00
parent 10618103b6
commit 982e25ceb6
2 changed files with 4 additions and 1 deletions

View file

@ -67,6 +67,10 @@ class AppKernel extends Kernel
public function registerContainerConfiguration(LoaderInterface $loader)
{
if (file_exists($this->getProjectDir() . '/app/config/parameters.yml')) {
$loader->load($this->getProjectDir() . '/app/config/parameters.yml');
}
$loader->load($this->getProjectDir() . '/app/config/config_' . $this->getEnvironment() . '.yml');
$loader->load(function (ContainerBuilder $container) {