secure_actions) OR (! isset($this->secure_actions[Request::current()->action()]))) throw new Kohana_Exception('Class has no security defined :class, or no security configured for :method',array(':class'=>get_class($this),':method'=>Request::current()->action())); parent::before(); $this->ao = ORM::factory('account',Auth::instance()->get_user()->id); if (! $this->ao->loaded()) throw new Kohana_Exception('Account doesnt exist :account ?',array(':account'=>Auth::instance()->get_user()->id)); } } ?>