Routing Issue and Admin Interface
For routing I used the following in my route.php file
$route['(:any)'] = 'innerpage/';
But now the issue is backend admin also get routed to innerpage controller. Is there any way to prevent that. I tried using $route['fuel']='fuel/'; but with no success.
Comments
$route['fuel'] = 'fuel/login';
$route['fuel/(:any)'] = 'fuel/$1';
I am getting the dashboard. But not able to access modules I have created.
$route['404_override'] = 'innerpage';
You may need to use the "_remap" method in that controller to route requests to the proper method if you aren't already.
$route['default_controller'] = 'articles'; $route['404_override'] = 'innerpage';
I get the following error:
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: fuel/Router.php
Line Number: 93
An Error Was Encountered
Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.
https://github.com/daylightstudio/FUEL-CMS/commit/ca45147370ea8e59f7c66db4cd517d2121a3bcf7