Setting 404_override |
On the version 3 + of codeigniter it does not work in sub folders
In Correct Code: application > controllers > pages > Error_404.php PHP Code: $route['404_override'] = 'pages/error_404'; Correct Code: application > controllers > Error_404.php PHP Code: $route['404_override'] = 'error_404'; Note: Follow the Codeigniter file and class name style guide
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Setting 404_override - by ukitconsultant - 09-12-2016, 07:50 AM
RE: Setting 404_override - by wolfgang1983 - 09-12-2016, 09:46 PM
RE: Setting 404_override - by ukitconsultant - 09-13-2016, 02:51 AM
|