i've added this function to my appController. as far as i know this
should be called automatically by every controller on my site, however,
none of them do. what am i doing wrong? -thanks

function beforeFilter() {
                echo "WTF";
                $this->set('userID', 0);
                $this->set('username', '');
                $this->set('auth', false);
                $this->set('query', '');

                if (isset($this->HeaderVariable)) {
                        $this->HeaderVariable->controller = &$this;
                }
                
                return true;
        }


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to