diff options
-rw-r--r-- | maj/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<div>L'adresse IP $ip4pub n'est pas reconnue.<br />La mise à jour doit obligatoirement être réalisée depuis votre connexion Comminges Haut Débit.</div></body></html>\n"; exit(); } |