From daccbf4c7f12d1d780f9a74997003883eeb1094a Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Thu, 2 Aug 2018 19:04:04 +0200 Subject: Fix IP check for new IP adresses --- maj/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maj/index.php b/maj/index.php index fd634a1..877afeb 100644 --- a/maj/index.php +++ b/maj/index.php @@ -60,7 +60,7 @@ $( document ).ready(function() { $ip4pub=$_SERVER['REMOTE_ADDR']; } - if ( preg_match('/^185\.131\.4[01]\.[0-9]{1,3}$/', $ip4pub)!==1 ) { + if ( preg_match('/^185\.131\.4[0-3]\.[0-9]{1,3}$/', $ip4pub)!==1 ) { echo "
L'adresse IP $ip4pub n'est pas reconnue.
La mise à jour doit obligatoirement être réalisée depuis votre connexion Comminges Haut Débit.
\n"; exit(); } -- cgit v1.1