X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=blobdiff_plain;f=include%2Fclasses%2Fuseragent.php-class;h=18415b89d20824ad2b61b88e23f30ac9b3f1671b;hp=5db5dc90b2c3ff8e6bef609a855d23d0dfc96ecf;hb=099bd59fede8a97b821b13ad8a931239c9c751bf;hpb=c51ab9a2d40c699c2ae06e5cde3251c3bd33ba90 diff --git a/include/classes/useragent.php-class b/include/classes/useragent.php-class index 5db5dc9..18415b8 100755 --- 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]; } + 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];