Welcome Guest, Not a member yet? Register   Sign In
show_404() doesn't use my custom 404 page
#4

(This post was last modified: 09-06-2016, 10:41 PM by wolfgang1983.)

If your using latest version of CI3 will not work in sub folders


Code:
$route['404_override'] = 'error_pages/error_404_custom';

Try instead controllers > Error_pages.php

Code:
$route['404_override'] = 'error_pages'; // This will be a controller name

http://www.codeigniter.com/user_guide/ge...ile-naming
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
RE: show_404() doesn't use my custom 404 page - by wolfgang1983 - 09-06-2016, 07:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB