Skip to content
Extraits de code Groupes Projets
Valider 3ce25bcc rédigé par cedric@yterium.com's avatar cedric@yterium.com
Parcourir les fichiers
parent f207fc72
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* ------------------ * ------------------
*/ */
define('_ECRAN_SECURITE', '1.1.4'); // 2 octobre 2012 define('_ECRAN_SECURITE', '1.1.5'); // 8 mars 2013
/* /*
* Documentation : http://www.spip.net/fr_article4200.html * Documentation : http://www.spip.net/fr_article4200.html
...@@ -23,7 +23,7 @@ if (isset($_GET['test_ecran_securite'])) ...@@ -23,7 +23,7 @@ if (isset($_GET['test_ecran_securite']))
if (!defined('_IS_BOT')) if (!defined('_IS_BOT'))
define('_IS_BOT', define('_IS_BOT',
isset($_SERVER['HTTP_USER_AGENT']) isset($_SERVER['HTTP_USER_AGENT'])
AND preg_match(',bot|slurp|crawler|spider|webvac|yandex|INA dlweb|EC2LinkFinder,i', AND preg_match(',bot|slurp|crawler|spider|webvac|yandex|INA dlweb|EC2LinkFinder|80legs,i',
(string) $_SERVER['HTTP_USER_AGENT']) (string) $_SERVER['HTTP_USER_AGENT'])
); );
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter