don't detect IE as a bot
authorrobert <robert>
Mon, 15 Dec 2003 13:04:35 +0000 (13:04 +0000)
committerrobert <robert>
Mon, 15 Dec 2003 13:04:35 +0000 (13:04 +0000)
include/classes/useragent.php-class

index b8d83d62ab75abc376b4067d43961d9e0270a94f..1185c502ddbf62c69f87f458248308f092e02cba 100755 (executable)
@@ -241,7 +241,7 @@ class userAgent {
       $this->version = "";
       $this->bot = true;
     }
       $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;
       $this->brand = "Unknown bot (Mozilla)";
       $this->version = "";
       $this->bot = true;