Welcome Guest, Not a member yet? Register   Sign In
Routing Question
#2

[eluser]brianw1975[/eluser]
well, 1st, there is no need to put index in the route - the index function is called by default in every controller, unless you are trying to override the _remap function, which i don't know if that is possible.

2nd, in route.php set "main" as your default controller -- this should already be in there anyways.
Code:
$route['default_controller'] = "main";

remove your route from routes.php because it's redundant and obviously screwing up your admin section
Code:
$route[’:any’] = ‘main/index’;


Messages In This Thread
Routing Question - by El Forum - 09-08-2009, 05:24 PM
Routing Question - by El Forum - 09-08-2009, 07:22 PM
Routing Question - by El Forum - 09-08-2009, 08:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB