-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Dotenv] Add SYMFONY_DOTENV_PATH
#19371
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
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.
Env var -> environment variable
053a657
to
c9ff43e
Compare
Updated 👍 |
Alex, thanks a lot for documenting this new feature so fast. While merging I did some very minor changes ((e926d7c)) ... but I also promoted the mention about where to define this new env var to a |
Thanks Javier! |
Hello and sorry, this feature has been misinterpreted. The variable can't be set before calling
|
I'll send another PR to fix this, thanks for the explanation Jérôme! |
…e-daubois) This PR was merged into the 7.1 branch. Discussion ---------- [Dotenv] Fix incorrect way to modify .env path After #19371 (comment) Commits ------- 3ee6a7f [DotEnv] Fix incorrect way to modify .env path
I'm sorry but this description is wrong. This var is not about changing the location of the dot env files. It's about exposing where the dotenv files are so that the apps itself can know about it. |
…ubois) This PR was merged into the 7.1 branch. Discussion ---------- [Dotenv] Fix `SYMFONY_DOTENV_PATH` purpose After #19371 (comment), sorry for the misunderstanding on this feature! I guess https://symfony.com/blog/new-in-symfony-7-1-misc-improvements-part-2#custom-env-path will also need an update. cc `@nicolas`-grekas Commits ------- 41c4ce5 [Dotenv] Fix `SYMFONY_DOTENV_PATH` purpose
Fix #19366