Welcome Guest, Not a member yet? Register   Sign In
Ezauth and URLs
#1

[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


Messages In This Thread
Ezauth and URLs - by El Forum - 01-17-2008, 09:15 AM
Ezauth and URLs - by El Forum - 01-17-2008, 09:55 AM
Ezauth and URLs - by El Forum - 01-17-2008, 10:38 AM
Ezauth and URLs - by El Forum - 01-18-2008, 09:28 AM
Ezauth and URLs - by El Forum - 01-23-2008, 08:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB