diff --git a/app/AppKernel.php b/app/AppKernel.php index 0e9d62e4b..699a7ee79 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -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) { diff --git a/app/config/config.yml b/app/config/config.yml index 77d792221..242db19b2 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -1,5 +1,4 @@ imports: - - { resource: parameters.yml } - { resource: security.yml } - { resource: services.yml } - { resource: wallabag.yml }