Problem with fetch_class() and redirect() |
Hi everybody,
I've a little problem with fetch_class and redirect. I'm using this two method in this way, in my core controller Admin_Controller: PHP Code: if (!$this->router->fetch_class() == 'login' && !$this->ion_auth->is_admin()) { (Anyway, sorry for my poor english ><)
try this
PHP Code: if ($this->router->fetch_class() != 'login' && !$this->ion_auth->is_admin())
|
Welcome Guest, Not a member yet? Register Sign In |