[eluser]louis w[/eluser]
I am working on a CMS that will have two core controllers admin and page. In order to get the cleanest urls possible I want to map EVERYTHING except admin calls to my page controller.
This is what I have in the routes file:
$route['admin/(.*)'] = "admin/$1";
$route['(.*)'] = "page/$1";
$route['default_controller'] = "page";
If I remove the default_controller value it errors.
Shouldn't this still work because I am adjusting the url with the route to send everything to page so it shouldn't need the default_controller.