diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-08-28 02:27:34 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-08-28 02:27:34 +0400 |
commit | 66435d50cc62d6aee9c3ca1659bb35c8583d4bd6 (patch) | |
tree | 9f673eeeced1462fd328084309cd1c747ed86c38 /core | |
parent | fa3ea189ce67b32924be34c976c860c76531eabe (diff) |
Adding CloudFlare to list of excluded bots
Diffstat (limited to 'core')
-rw-r--r-- | core/Tracker/VisitExcluded.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Tracker/VisitExcluded.php b/core/Tracker/VisitExcluded.php index 3ee3234f48..53cca8f7ab 100644 --- a/core/Tracker/VisitExcluded.php +++ b/core/Tracker/VisitExcluded.php @@ -145,6 +145,7 @@ class VisitExcluded || strpos($this->userAgent, 'Google Page Speed Insights') !== false // #4049 || strpos($this->userAgent, 'bingbot') !== false // Bingbot || strpos($this->userAgent, 'YottaaMonitor') !== false // Yottaa + || strpos($this->userAgent, 'CloudFlare') !== false // CloudFlare-AlwaysOnline || IP::isIpInRange($this->ip, $this->getBotIpRanges())); } |