projects
/
php-utility-classes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make Konqueror rule case-insensitive so it detects current Konquerors
[php-utility-classes.git]
/
include
/
classes
/
useragent.php-class
diff --git
a/include/classes/useragent.php-class
b/include/classes/useragent.php-class
index 3dff7ae5ff0b114e7ae5aa9f245345feb3e09a2e..26c801652dd548ae810a7d581d053283529c258c 100755
(executable)
--- a/
include/classes/useragent.php-class
+++ b/
include/classes/useragent.php-class
@@
-349,7
+349,7
@@
class userAgent {
$this->version = $regs[1];
$this->bot = false;
}
$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;
$this->brand = 'Konqueror';
$this->version = $regs[1];
$this->bot = false;