projects
/
php-utility-classes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switch main home mount to WDblack disk
[php-utility-classes.git]
/
include
/
classes
/
useragent.php-class
diff --git
a/include/classes/useragent.php-class
b/include/classes/useragent.php-class
index 0512f693f88737177e4cf372e27c559112808ba0..776cae47426228ea2048666976a2a9ac43f14cae 100755
(executable)
--- a/
include/classes/useragent.php-class
+++ b/
include/classes/useragent.php-class
@@
-1147,6
+1147,11
@@
class userAgent {
$this->uadata['lang'] = null;
$this->uadata['eng_version'] = null;
}
$this->uadata['lang'] = null;
$this->uadata['eng_version'] = null;
}
+ elseif (preg_match('|Mozilla/5.0 \(Mobile; rv:([^\);]+)\)|', $this->uastring, $regs)) {
+ $this->uadata['os'] = 'Firefox OS';
+ $this->uadata['lang'] = null;
+ $this->uadata['eng_version'] = $regs[1];
+ }
elseif (preg_match('|Mozilla/5.0 \(([^;]+); rv:([^\);]+)\)|', $this->uastring, $regs)) {
$this->uadata['os'] = $regs[1];
$this->uadata['lang'] = null;
elseif (preg_match('|Mozilla/5.0 \(([^;]+); rv:([^\);]+)\)|', $this->uastring, $regs)) {
$this->uadata['os'] = $regs[1];
$this->uadata['lang'] = null;