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

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

parent cc70a529
Branches
Tags
4 merge requests!3297WIP: Master,!3220Master,!3216WIP: Koha pagination le retour,!3212Hotline
Pipeline #8026 passed with stage
in 38 minutes and 23 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