summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorDaniel Hunsaker <danhunsaker@gmail.com>2013-03-04 10:05:20 +0100
committerDaniel Hunsaker <danhunsaker@gmail.com>2013-03-04 10:05:20 +0100
commit50dfe0175df02fe4aa243757bdf1b42fb9fc3169 (patch)
treeaecad56261ff780ffb92d75492445de5e6479cc1 /user_guide_src/source
parente5d7af508680afced4c96b5a52a054c73b6c537e (diff)
Updated in accordance with feedback from @narfbg
- Removed commented lists of constants from the three reference conventions, replacing each with the URLs at which more information can be found. - Renamed a few constants to more closely reflect CodeIgniter conventions. - Modified a couple of lines which were in violation of the CI Style Guide. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/general/errors.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/general/errors.rst b/user_guide_src/source/general/errors.rst
index 1d6f8120d..441cedb80 100644
--- a/user_guide_src/source/general/errors.rst
+++ b/user_guide_src/source/general/errors.rst
@@ -49,7 +49,7 @@ code should be sent with the error. If ``$status_code`` is less than 100,
the HTTP status code will be set to 500, and the exit status code will
be set to ``$status_code + EXIT__AUTO_MIN``. If that value is larger than
``EXIT__AUTO_MAX``, or if ``$status_code`` is 100 or higher, the exit
-status code will be set to ``EXIT_FAILURE``. You can check in
+status code will be set to ``EXIT_ERROR``. You can check in
*application/config/constants.php* for more detail.
show_404()
@@ -67,7 +67,7 @@ the following error template::
application/errors/error_404.php
The function expects the string passed to it to be the file path to the
-page that isn't found. The exit status code will be set to ``EXIT_UNK_FILE``.
+page that isn't found. The exit status code will be set to ``EXIT_UNKNOWN_FILE``.
Note that CodeIgniter automatically shows 404 messages if controllers are
not found.