-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Description
| Q | A |
|---|---|
| Bug report? | yes |
| Feature request? | no |
| BC Break report? | no |
| RFC? | no |
| Symfony version | 3.4.7 |
I have a problem with the type of environment variables:
Invalid type for path "framework.ssi.enabled". Expected boolean, but got string.
My config
parameters:
env(NGINX_SSI): 0
framework:
ssi:
enabled: '%env(bool:NGINX_SSI)%'Based on this #23901 PR (in blog), everything should work, but no.
I tried this:
parameters:
env(NGINX_SSI): false
framework:
ssi:
enabled: '%env(bool:NGINX_SSI)%'And this:
parameters:
env(NGINX_SSI): 0
ssi_enabled: '%env(bool:NGINX_SSI)%'
framework:
ssi:
enabled: '%ssi_enabled%'But result does not changed.
What am i doing wrong?
Metadata
Metadata
Assignees
Labels
No labels