function run() { if (!$this->CustomerAuth->is_logged()) { $this->redirect_to_login(); return false; } parent::run(); return true; }
public function run() { parent::run(); if (isset($_GET['id'])) { $this->_setId((string) @$_GET['id']); } if (!$this->is_customer_logged() && !in_array($this->get_action_name(), array('default', 'send_email')) && !$this->_getId()) { throw new ExceptionProcessing(24); } $this->determine_action(); }
public function run() { parent::run(); $this->determine_action(); }