Welcome Guest, Not a member yet? Register   Sign In
Page for [An Error Was Encountered]
#2

Something like this?  https://www.codeigniter.com/userguide3/g...uting.html
Code:
$route['404_override'] = 'controllername';
Quote:This route indicates which controller class should be loaded if the requested controller is not found. It will override the default 404 error page. Same per-directory rules as with ‘default_controller’ apply here as well.

It won’t affect to the show_404() function, which will continue loading the default error_404.php file at application/views/errors/error_404.php.
Reply


Messages In This Thread
Page for [An Error Was Encountered] - by RAMP - 08-16-2017, 09:10 AM
RE: Page for [An Error Was Encountered] - by JanFromHamburg - 08-23-2017, 03:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB