예제 #1
0
파일: Cart.php 프로젝트: kingsj/core
 /**
  * isSecure
  * TODO: check if this method is used
  *
  * @return void
  */
 public function isSecure()
 {
     return $this->is('HTTPS') ? true : parent::isSecure();
 }
예제 #2
0
파일: Login.php 프로젝트: kirkbauer2/kirkxc
 /**
  * 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();
 }