Beispiel #1
0
 /**
  * Check - need use secure protocol or not
  *
  * @return boolean
  */
 public function needSecure()
 {
     return parent::needSecure() || !$this->isHTTPS() && $this->isFullCustomerSecurity();
 }
Beispiel #2
0
 /**
  * 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;
 }
Beispiel #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;
 }