Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Dotenv] Fix bootEnv() override with .env.local.php when the env key already exists#45188

Merged
nicolas-grekas merged 1 commit into
symfony:5.4from
fancyweb:dotenv/boot-env-overr-fix
Jan 26, 2022
Merged

[Dotenv] Fix bootEnv() override with .env.local.php when the env key already exists#45188
nicolas-grekas merged 1 commit into
symfony:5.4from
fancyweb:dotenv/boot-env-overr-fix

Conversation

@fancyweb
Copy link
Copy Markdown
Contributor

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

If $_SERVER['APP_ENV'] = 'foo' and .env.local.php exists and returns 'APP_ENV' => 'prod', the override does not work.

@nicolas-grekas
Copy link
Copy Markdown
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit 9b7aac3 into symfony:5.4 Jan 26, 2022
@fancyweb fancyweb deleted the dotenv/boot-env-overr-fix branch January 26, 2022 16:37
This was referenced Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants