[eluser]Young Caveman[/eluser]
As usual, i apologize cause i can't speak english very well, but i'll try to explain as well as i can.
I'm new with CI, i would like to know if i can do this thing without coding too much.
Suppose i have to restrict the controller "admin", only the administrator can access to this area. Sure, he's the only who can access also admin/some, admin/somethingelse etc.
I have to code a if in each 'index', 'some' and 'somethingelse' function, or i can do something here? :
Code:
function Admin()
{
parent::Controller();
}
Something here would help me in every function of the controller?
Thanks in advance.
Don ~ Alberto.