Welcome Guest, Not a member yet? Register   Sign In
Problem with admin routes
#2

[eluser]CodyPChristian[/eluser]
So you're wanting a setup like:

domain/admin/admin_controllers?

if so make your 'admin' a directory and put your controllers inside, then just map that path to the first controller

Code:
$route['admin'] = "admin/admin";

You can also do domain/admin_controller/functions, doing this though is going to make a very large controller, I think you would be better off with the first layout.

Cheers!

p.s. Welcome to the forums


Messages In This Thread
Problem with admin routes - by El Forum - 07-08-2008, 09:39 AM
Problem with admin routes - by El Forum - 07-08-2008, 11:36 AM
Problem with admin routes - by El Forum - 07-08-2008, 12:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB