Skip to content

Commit 01f1924

Browse files
Documentation - Fix General Errros - Fixed Configuration text
Signed-off-by: Najdanovic Ivan <najdanovicivan@gmail.com>
1 parent b6e180f commit 01f1924

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/general/errors.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Configuration
5858
=============
5959

6060
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.
61+
display any errors in the ``production`` environment. You can change this by setting the ``CI_ENVIRONMENT`` variable
62+
in the ``.env`` file.
6363

6464
.. important:: Disabling error reporting DOES NOT stop logs from being written if there are errors.
6565

0 commit comments

Comments
 (0)