1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-06-27 16:36:00 +00:00

Add deprecation notice about parameters.yml file

This commit is contained in:
Yassine Guedidi 2025-02-18 01:11:01 +01:00
parent 738e95615a
commit efbc8e7959

View file

@ -69,6 +69,8 @@ class AppKernel extends Kernel
{
if (file_exists($this->getProjectDir() . '/app/config/parameters.yml')) {
$loader->load($this->getProjectDir() . '/app/config/parameters.yml');
@trigger_error('The "app/config/parameters.yml" file is deprecated and will not be supported in a future version. Move your configuration to environment variables and remove the file.', \E_USER_DEPRECATED);
}
$loader->load($this->getProjectDir() . '/app/config/config_' . $this->getEnvironment() . '.yml');