Welcome Guest, Not a member yet? Register   Sign In
Base Controller Usage with Flexi Auth
#3

Try changing this:
Code:
parent::is_logged_in_user_admin();
to this:
Code:
$this->is_logged_in_user_admin();

Additionally, if you're going to need the auth property defined before loading the flexi_auth library, you might as well define it in your base controller. I would also move loading the library into the base controller, but you might want to put it into a method (possibly along with the definition of the auth property). Then you could call the method conditionally, depending on whether you are using authentication in the current controller.
Reply


Messages In This Thread
RE: Base Controller Usage with Flexi Auth - by mwhitney - 05-29-2015, 06:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB