Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 3 HMVC default_controller
#6
Lightbulb 

I think it's also possible to add the following rule at the end of all the rules:

PHP Code:
$route['(.*)'] = "directory/to/default/controller"

This should do the trick, but it is also necessary to implement 404 handle in the default controller if applies.

Hope it works for you!
Matup
Reply


Messages In This Thread
Codeigniter 3 HMVC default_controller - by dts - 01-08-2015, 09:37 AM
RE: Codeigniter 3 HMVC default_controller - by matup - 03-12-2015, 01:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB