This commit is contained in:
Marion Muszynski 2016-05-17 17:50:49 +02:00
parent 0b077c192a
commit cbec52936b

View File

@ -174,7 +174,7 @@ class Cheque extends PaymentModule
public function hookPayment($params) public function hookPayment($params)
{ {
//if($_SERVER['REMOTE_ADDR'] == '109.190.18.166' || $_SERVER['REMOTE_ADDR'] == '88.163.25.248' || $_SERVER['REMOTE_ADDR'] == '90.55.156.233' || $_SERVER['REMOTE_ADDR'] == '86.217.193.9' || $_SERVER['REMOTE_ADDR'] == '86.199.91.29' || $_SERVER['REMOTE_ADDR'] == '109.190.53.175') { if($_SERVER['REMOTE_ADDR'] == '109.190.18.166' || $_SERVER['REMOTE_ADDR'] == '88.163.25.248' || $_SERVER['REMOTE_ADDR'] == '90.55.156.233' || $_SERVER['REMOTE_ADDR'] == '86.217.193.9' || $_SERVER['REMOTE_ADDR'] == '86.199.91.29' || $_SERVER['REMOTE_ADDR'] == '109.190.53.175') {
if (!$this->active) if (!$this->active)
return ; return ;
if (!$this->_checkCurrency($params['cart'])) if (!$this->_checkCurrency($params['cart']))
@ -187,7 +187,7 @@ class Cheque extends PaymentModule
'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->name.'/' 'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->name.'/'
)); ));
return $this->display(__FILE__, 'payment.tpl'); return $this->display(__FILE__, 'payment.tpl');
//} }
} }
public function hookPaymentReturn($params) public function hookPaymentReturn($params)