diff options
author | Andrey Andreev <narf@devilix.net> | 2013-11-12 17:45:23 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2013-11-12 17:45:23 +0100 |
commit | fb2ac41b6c914fd55b539337e381860bfcc2cf7b (patch) | |
tree | 314ed94b21436b2e1bba240869f68b8da7c9805e /user_guide_src/source | |
parent | 29947ee882a8d519d62ca9061ed6513cedfb1930 (diff) |
Update the upgrade instructions for error templates
Diffstat (limited to 'user_guide_src/source')
-rw-r--r-- | user_guide_src/source/installation/upgrade_300.rst | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/user_guide_src/source/installation/upgrade_300.rst b/user_guide_src/source/installation/upgrade_300.rst index 8f9cc1bdc..ec80e8041 100644 --- a/user_guide_src/source/installation/upgrade_300.rst +++ b/user_guide_src/source/installation/upgrade_300.rst @@ -119,11 +119,18 @@ need to rename the `$active_record` variable to `$query_builder` // $active_record = TRUE; $query_builder = TRUE; -******************************************* -Step 8: Move your error templates directory -******************************************* +************************************ +Step 8: Replace your error templates +************************************ -In version 3.0.0, the errors folder has been moved from _application/errors* to _application/views/errors*. +In CodeIgniter 3.0, the error templates are now considered as views and have been moved to the +_application/views/errors* directory. + +Furthermore, we've added support for CLI error templates in plain-text format that unlike HTML, +is suitable for the command line. This of course requires another level of separation. + +It is safe to move your old templates from _application/errors* to _application/views/errors/html*, +but you'll have to copy the new _application/views/errors/cli* directory from the CodeIgniter archive. ******************************************************* Step 9: Update your config/routes.php containing (:any) |