mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Add deprecation notice about parameters.yml file
This commit is contained in:
parent
738e95615a
commit
efbc8e7959
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ class AppKernel extends Kernel
|
||||||
{
|
{
|
||||||
if (file_exists($this->getProjectDir() . '/app/config/parameters.yml')) {
|
if (file_exists($this->getProjectDir() . '/app/config/parameters.yml')) {
|
||||||
$loader->load($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');
|
$loader->load($this->getProjectDir() . '/app/config/config_' . $this->getEnvironment() . '.yml');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue