Skip to content
Snippets Groups Projects
Commit 6229f181 authored by Luc DEUFFIC's avatar Luc DEUFFIC
Browse files

Modification library/Class/UserAgent.php : ajout des Bots qwant, bing et linguee

parent 0c3dee9d
Branches
Tags
4 merge requests!3297WIP: Master,!3204Hotline#93504 binum pdf open,!3203Master,!3201Hotline#93504 bibnum ouvrir un pdf pas d extension
Pipeline #8010 passed with stage
in 1 hour, 13 minutes, and 34 seconds
......@@ -32,7 +32,7 @@ class Class_UserAgent {
public function isBot() {
return 0 !== preg_match('/(bot\/|sistrix|voilabot|slurp|mauibot|ahrefsbot|semrushbot)/i',
return 0 !== preg_match('/(bot\/|sistrix|voilabot|slurp|mauibot|ahrefsbot|semrushbot|qwant|bing|linguee)/i',
$this->_user_agent_string);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment