Browse Source

espace stupide qui empechait de reconnaitre les bots (report de http://zone.spip.org/trac/spip-zone/changeset/33871 )

spip-3-stable
Fil 13 years ago
parent
commit
953ae79a55
  1. 2
      ecrire/inc_version.php

2
ecrire/inc_version.php

@ -70,7 +70,7 @@ define('_NOM_PERMANENTS_ACCESSIBLES', "IMG/");
if (!defined('_IS_BOT'))
define('_IS_BOT',
isset($_SERVER['HTTP_USER_AGENT'])
AND preg_match(', bot|slurp|crawler|spider|webvac|yandex,i',
AND preg_match(',bot|slurp|crawler|spider|webvac|yandex,i',
$_SERVER['HTTP_USER_AGENT'])
);

Loading…
Cancel
Save