We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e24dbc commit 3e9c091Copy full SHA for 3e9c091
configuration/dot-env-changes.rst
@@ -30,6 +30,10 @@ important changes:
30
other environments. You can also create a ``.env.test`` file for test-environment
31
overrides.
32
33
+* E) If you pass the ``--env=`` flag when running ``bin/console``, this value will
34
+ override your ``APP_ENV`` environment variable (if set). And so, if you pass
35
+ ``--env=prod``, the DotEnv component *will* try to load your ``.env*`` files.
36
+
37
There are a few other improvements, but these are the most important. To take advantage
38
of these, you *will* need to modify a few files in your existing app.
39
0 commit comments