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

Update UserAgent.php : add new bots on ligne #35

parent cd0e6395
Branches
Tags
1 merge request!3365Hotline
Pipeline #9061 passed with stage
in 44 minutes and 48 seconds
......@@ -32,7 +32,7 @@ class Class_UserAgent {
public function isBot() {
return 0 !== preg_match('/(bot\/|sistrix|voilabot|slurp|mauibot|ahrefsbot|semrushbot|qwant|bing|linguee)/i',
return 0 !== preg_match('/(bot\/|sistrix|voilabot|slurp|mauibot|ahrefsbot|semrushbot|qwant|bing|linguee|googlebot|mj12bot|dotbot|seokicks|seekport)/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