modif
This commit is contained in:
parent
0b077c192a
commit
cbec52936b
@ -174,7 +174,7 @@ class Cheque extends PaymentModule
|
||||
|
||||
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)
|
||||
return ;
|
||||
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.'/'
|
||||
));
|
||||
return $this->display(__FILE__, 'payment.tpl');
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
public function hookPaymentReturn($params)
|
||||
|
Loading…
Reference in New Issue
Block a user