hi i have this function to call the parent before filter according to
what action is executing, however this is not working and all actions
in my userscontroller are in fact calling this beforefilter. what is
the problem with my code? thanks

        function beforeFilter() {
                //$myactions = array('login', 'logout');
                if (!($this->action ) == 'login'|'logout')
                        parent::beforeFilter();
        }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to