Browse Source

erreur de syntaxe (merci marcimat)

pull/1/head
Fil 11 months ago
parent
commit
06b742e7e3
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      config/ecran_securite.php

+ 4
- 4
config/ecran_securite.php View File

@@ -34,7 +34,7 @@ if (!defined('_IS_BOT')){
define('_IS_BOT',
isset($_SERVER['HTTP_USER_AGENT'])
and preg_match(','
. array(
. implode ('|', array(
// mots generiques
'bot',
'slurp',
@@ -175,17 +175,17 @@ if (!defined('_IS_BOT')){
'yats',
'yeti',
'zeerch'
).join('|') . ',i',
)) . ',i',
(string)$_SERVER['HTTP_USER_AGENT'])
);
}
if (!defined('_IS_BOT_FRIEND')){
define('_IS_BOT_FRIEND',
isset($_SERVER['HTTP_USER_AGENT'])
and preg_match(',' . array(
and preg_match(',' . implode ('|', array(
'facebookexternalhit',
'flipboardproxy'
).join('|') . ',i',
)) . ',i',
(string)$_SERVER['HTTP_USER_AGENT'])
);
}

Loading…
Cancel
Save