8000 Fixed order of env.local loading · symfony/symfony-docs@33c1b92 · GitHub
[go: up one dir, main page]

Skip to content

Commit 33c1b92

Browse files
Toflarwouterj
authored andcommitted
Fixed order of env.local loading
1 parent 5d49539 commit 33c1b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dotenv.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ defined in previously loaded files::
8484
variable is populated and used to load environment-specific files hereafter. If
8585
``APP_ENV`` is not defined in either of the previously mentioned files, ``dev`` is
8686
assumed for ``APP_ENV`` and populated by default.
87+
#. If there's a ``.env.local`` representing general local environment variables it's loaded now.
8788
#. If there's a ``.env.$env.local`` file, this one is loaded. Otherwise, it falls
8889
back to ``.env.$env``.
89-
#. If there's a ``.env.local`` it's loaded last.
9090

9191
This might look complicated at first glance but it gives you the opportunity to commit
9292
multiple environment-specific files that can then be adjusted to your local environment

0 commit comments

Comments
 (0)
0