[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.