Welcome Guest, Not a member yet? Register   Sign In
user controller help
#1

[eluser]UnknownPlayer[/eluser]
Hi,
i have user controller, where is login functions and registration functions, and User_modal for both too.
Now i have two questions:
- is correct to use one controller and one model for both(login and registration), or it's better to seperate them ?
- i have function, which check if user is logged in(to check cookie if isset), now i need to use that function on other controllers and models, so how can i auto load file where i put my functions, or i need to do classic include() ?
Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB