Commit 6229f181 authored by Luc DEUFFIC's avatar Luc DEUFFIC

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

parent 0c3dee9d
Pipeline #8010 passed with stage
in 73 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);
}
......
Markdown is supported
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