Welcome Guest, Not a member yet? Register   Sign In
Controllers
#1

[eluser]Unknown[/eluser]
Hi i currently have a site which is working fine with code igniter on my main controller i am now wanting to give people the option of a members area i have made an account controller however the main always take presidence is there a way to use the to controllers together. im not exactly fantastic with code igniter most of this comes frm a book.

thanks in advance
#2

[eluser]Ayeyermaw[/eluser]
What I generally do is create a MY_Controller (which extends CI_Controller) and make sure that all my controllers extend MY_Controller (Instead of CI_Controller).

That way I can do all the user checking within MY_Controller.

I don't know if that helps but I'm not clear on how you have structured things at the moment
#3

[eluser]Mauricio de Abreu Antunes[/eluser]
What do you need?




Theme © iAndrew 2016 - Forum software by © MyBB