Check a function before doing anything? |
I used a 'post_controller_constructor' hook to do this:
Hook in config/hooks.php: PHP Code: $hook['post_controller_constructor'] = array( Check Function in hooks/Auth.php: PHP Code: public function check() See the docs for reference. Good luck. |
Messages In This Thread |
Check a function before doing anything? - by Hamed - 04-12-2015, 07:34 AM
RE: Check a function before doing anything? - by nasser.man - 04-12-2015, 08:51 AM
RE: Check a function before doing anything? - by casa - 04-12-2015, 11:16 AM
RE: Check a function before doing anything? - by chrismartinez99 - 04-22-2015, 08:52 AM
|