예제 #1
0
 /**
  * Check - need use secure protocol or not
  *
  * @return boolean
  */
 public function needSecure()
 {
     return parent::needSecure() || !$this->isHTTPS() && $this->isFullCustomerSecurity();
 }
예제 #2
0
파일: ACustomer.php 프로젝트: kingsj/core
 /**
  * Check - need use secure protocol or not
  *
  * @return boolean
  */
 protected function needSecure()
 {
     return parent::needSecure() || !\XLite\Core\Request::getInstance()->isHTTPS() && \XLite\Core\Config::getInstance()->Security->full_customer_security;
 }
예제 #3
0
 /**
  * Check - need use secure protocol or not
  *
  * @return boolean
  */
 public function needSecure()
 {
     return parent::needSecure() || !$this->isHTTPS() && \XLite\Core\Config::getInstance()->Security->admin_security;
 }