Welcome Guest, Not a member yet? Register   Sign In
Configuring routes for controllers/admin subfolder
#1

[eluser]CARP[/eluser]
Hi guys
I've created a CI app, and now I'll begin building an admin backend for it
I've set a default controller to be called (for frontend)

$route['default_controller'] = "frontend";

and now I've created an "admin" folder inside /controllers for putting the controllers related to admin area

How should I do the routes configuration?, so when users go

myapp.com/admin

they are shown or redirected to the default admin controller? Is this possible?

Thanks a lot in advance...


Messages In This Thread
Configuring routes for controllers/admin subfolder - by El Forum - 06-24-2008, 08:32 AM
Configuring routes for controllers/admin subfolder - by El Forum - 06-24-2008, 08:51 AM
Configuring routes for controllers/admin subfolder - by El Forum - 06-24-2008, 09:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB