File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -858,9 +858,10 @@ the right situation:
858
858
but the overrides only apply to one environment.
859
859
860
860
*Real * environment variables always win over env vars created by any of the
861
- ``.env `` files. This behavior depends on
862
- `variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order >`_ to
863
- contain an ``E `` to expose the ``$_ENV `` superglobal.
861
+ ``.env `` files. Note that this behavior depends on the
862
+ `variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order >`_
863
+ configuration, which must contain an ``E `` to expose the ``$_ENV `` superglobal.
864
+ This is the default configuration in PHP.
864
865
865
866
The ``.env `` and ``.env.<environment> `` files should be committed to the
866
867
repository because they are the same for all developers and machines. However,
You can’t perform that action at this time.
0 commit comments