Welcome Guest, Not a member yet? Register   Sign In
Check a function before doing anything?
#1

Hello,
I want to check a function (for example $this->auth->is_login()) before doing anything in controller?
Note:
1- I check it in any control
2- If false goto login else view page.


How can I have this without code in my controllers?
Reply


Messages In This Thread
Check a function before doing anything? - by Hamed - 04-12-2015, 07:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB