-
-
Notifications
You must be signed in to change notification settings - Fork 496
ensure $_ENV is contains real env vars from $_SERVER , or defaults from .env.local.php #611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ensure $_ENV is contains real env vars from $_SERVER , or defaults from .env.local.php #611
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
53e308f
to
d89bd96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
d89bd96
to
65dc172
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
This PR was merged into the master branch. Discussion ---------- Apply latest changes in FWBundle recipe See symfony/recipes#611 Commits ------- 11def45 Apply latest changes in FWBundle recipe
@nicolas-grekas // @javiereguiluz It took down our production and was hard to debug since in the documentation it's clearly saying that real env var takes over the var contained on those files. |
The same thing happened to us @tristanbes and I totally agree this needs to get more attention — possibly a blog post? |
This PR was merged into the master branch. Discussion ---------- Apply latest changes in FWBundle recipe See symfony/recipes#611 Commits ------- 11def45 Apply latest changes in FWBundle recipe
This PR was merged into the master branch. Discussion ---------- Apply latest changes in FWBundle recipe See symfony/recipes#611 Commits ------- 11def45 Apply latest changes in FWBundle recipe
This PR was merged into the master branch. Discussion ---------- Apply latest changes in FWBundle recipe See symfony/recipes#611 Commits ------- 11def45 Apply latest changes in FWBundle recipe
Fixes the issue where by
.env.local.php
was not overridable by real env vars.