[eluser]Unknown[/eluser]
my controller has two function index and is_loggin
how can called is_loggin function from index function?
i tried to do the followong:
function index()
{
if (is_logged_in($user)) {
.........
}
}
but it show this error:Call to undefined function is_logged_in().
How should i solve this?
thanks