Skip to content

Commit eaf0cff

Browse files
committed
docs: improve warning
1 parent 017cdbd commit eaf0cff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/general/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The loaded environment variables are accessed using any of the following:
122122

123123
.. literalinclude:: configuration/005.php
124124

125-
.. warning:: Note that your settings from the **.env** file are added to Environment Variables. As a side effect, this means that if your CodeIgniter application is (for example) generating a ``var_dump($_ENV)`` or ``phpinfo()`` (for debugging or other valid reasons) **your secure credentials are publicly exposed**.
125+
.. warning:: Note that your settings from the **.env** file are added to ``$_SERVER`` and ``$_ENV``. As a side effect, this means that if your CodeIgniter application is (for example) generating a ``var_dump($_ENV)`` or ``phpinfo()`` (for debugging or other valid reasons), or a detailed error report in the ``development`` environment is shown, **your secure credentials are publicly exposed**.
126126

127127
Nesting Variables
128128
-----------------

0 commit comments

Comments
 (0)