Welcome Guest, Not a member yet? Register   Sign In
uri routing help
#1

[eluser]Mutsop[/eluser]
Hi,

Ftm I'm creating an Admin panel using ionAuth.
Now for the renaming I split the controller in 2 (everything that has to do with logging in and the other part with users/modification).

So in my controller folder I have a file admin.php which contains the login, logout, forget_password.
And in my controller I have a Folder named admin with several controllers and also the user file.

How do I make a difference between admin file and folder?

I mean when I type the url admin/user I will get an 404 error. as he is searching the admin file and not the folder....


Any ideas?

EDIT:
k so I tried using
$route['admin/:any'] = "admin/:any";
In the hope it would take the same segment... but apparently not.


Messages In This Thread
uri routing help - by El Forum - 12-29-2010, 04:22 AM
uri routing help - by El Forum - 12-29-2010, 08:24 AM
uri routing help - by El Forum - 12-29-2010, 09:01 AM
uri routing help - by El Forum - 12-29-2010, 09:13 AM
uri routing help - by El Forum - 12-29-2010, 09:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB