From 74d5a0734ca365ca9fb67511b7003ec2c14e7060 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 15 Dec 2003 13:04:35 +0000 Subject: [PATCH] don't detect IE as a bot --- include/classes/useragent.php-class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/classes/useragent.php-class b/include/classes/useragent.php-class index b8d83d6..1185c50 100755 --- a/include/classes/useragent.php-class +++ b/include/classes/useragent.php-class @@ -241,7 +241,7 @@ class userAgent { $this->version = ""; $this->bot = true; } - elseif (ereg("^Mozilla", $this->uastring)) { + elseif (ereg("^Mozilla[\s ]*$", $this->uastring)) { $this->brand = "Unknown bot (Mozilla)"; $this->version = ""; $this->bot = true; -- 2.43.0