You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can be hard to get an idea on what files are read when getting a key from a certain config group and environment.
Solution
Either have a config/explain console command or debugger panel that gives you details about how configs are read and where the key requested was found.
./yii config/explain --env=prod --group=params --key=cache.enabled
config/params.php - found
config/params-local.php - not found
Key is loaded from config/params.php
The text was updated successfully, but these errors were encountered:
Problem
It can be hard to get an idea on what files are read when getting a key from a certain config group and environment.
Solution
Either have a
config/explain
console command or debugger panel that gives you details about how configs are read and where the key requested was found.The text was updated successfully, but these errors were encountered: