make Konqueror rule case-insensitive so it detects current Konquerors
[php-utility-classes.git] / include / classes / useragent.php-class
index 3dff7ae5ff0b114e7ae5aa9f245345feb3e09a2e..26c801652dd548ae810a7d581d053283529c258c 100755 (executable)
@@ -349,7 +349,7 @@ class userAgent {
       $this->version = $regs[1];
       $this->bot = false;
     }
-    elseif (preg_match('|Konqueror/([0-9a-zA-Z\.+]+)|', $this->uastring, $regs)) {
+    elseif (preg_match('|Konqueror/([0-9a-zA-Z\.+]+)|i', $this->uastring, $regs)) {
       $this->brand = 'Konqueror';
       $this->version = $regs[1];
       $this->bot = false;