[eluser]atomless[/eluser]
Hi,
I've been using EzAuth in my current CI project and it's great.
I have built my test application with a single controller, meaning that the login, register, change password etc are all methods of my one controller.
All works well but means that my urls (with the mod_rewrite removing the index.php bit) will take the form http://{my domain}/{my main controller}/{methods of my controller}
Is there a way that I can change the urls to :
http://{my domain}/{methods of my controller}
Or would I have to build it with separate controllers for each of the methods, login, register etc?
If that is the case I guess I would need to keep reloading EzAuth in the constructer of each controller - would that work ok?
Or is there a better way to structure things?
Thanks in advance,
James