We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6e180f commit 01f1924Copy full SHA for 01f1924
1 file changed
user_guide_src/source/general/errors.rst
@@ -58,8 +58,8 @@ Configuration
58
=============
59
60
By default, CodeIgniter will display all errors in the ``development`` and ``testing`` environments, and will not
61
-display any errors in the ``production`` environment. You can change this by locating the environment configuration
62
-portion at the top of the main ``index.php`` file.
+display any errors in the ``production`` environment. You can change this by setting the ``CI_ENVIRONMENT`` variable
+in the ``.env`` file.
63
64
.. important:: Disabling error reporting DOES NOT stop logs from being written if there are errors.
65
0 commit comments