[eluser]01munrra[/eluser]
Hello!!!
I have a function in a controller for restrict the users registered and the users not registered:
function valid()
{
if( $this->session->userdata('bandera') == false )
{ $this->index(); }
}
But, I want to use that function for restrict all system.....
How can I make for call that function in each controller?
thanks!!!