Does parameters.yml still work? #211
cheesegrits
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not a Symfony guy, so forgive the ignorance.
Does parameters.yml still work to override things in the current versions of Symfony? I couldn't seem to get them to do anything, and instead had to use services_foo.yaml files.
For example, setting a user and password for the /admin, adding it to parameters.yml had no effect, but creating a services_dev.yaml and a service_prod.yaml with the admin.auth and admins.users worked.
BTW, for any other non-Symfony folk, in prod when you change the config / env, you have to:
php bin/console cache:clearBeta Was this translation helpful? Give feedback.
All reactions