projects
/
php-utility-classes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
save basename along with filename and only replace .rrd for it if it's at the end...
[php-utility-classes.git]
/
include
/
classes
/
useragent.php-class
diff --git
a/include/classes/useragent.php-class
b/include/classes/useragent.php-class
index 5db5dc90b2c3ff8e6bef609a855d23d0dfc96ecf..18415b89d20824ad2b61b88e23f30ac9b3f1671b 100755
(executable)
--- a/
include/classes/useragent.php-class
+++ b/
include/classes/useragent.php-class
@@
-176,6
+176,10
@@
class userAgent {
$this->brand = 'Firefox';
$this->version = $regs[1];
}
$this->brand = 'Firefox';
$this->version = $regs[1];
}
+ elseif (preg_match('|SeaMonkey/([0-9a-zA-Z\.+]+)|', $this->uastring, $regs)) {
+ $this->brand = 'SeaMonkey';
+ $this->version = $regs[1];
+ }
elseif (preg_match('|Galeon/([0-9a-zA-Z\.+]+)|', $this->uastring, $regs)) {
$this->brand = 'Galeon';
$this->version = $regs[1];
elseif (preg_match('|Galeon/([0-9a-zA-Z\.+]+)|', $this->uastring, $regs)) {
$this->brand = 'Galeon';
$this->version = $regs[1];