Ejemplo n.º 1
0
Archivo: Cart.php Proyecto: kingsj/core
 /**
  * isSecure
  * TODO: check if this method is used
  *
  * @return void
  */
 public function isSecure()
 {
     return $this->is('HTTPS') ? true : parent::isSecure();
 }
Ejemplo n.º 2
0
 /**
  * Check - controller must work in secure zone or not
  *
  * @return boolean
  */
 public function isSecure()
 {
     return 'logoff' !== \XLite\Core\Request::getInstance()->action ? \XLite\Core\Config::getInstance()->Security->customer_security : parent::isSecure();
 }