detect microB
[php-utility-classes.git] / include / classes / useragent.php-class
index dbcad2737e6d74de9a860a577208cc155c722f07..49184a93cdc0fe01d04d85697bc1af6ac1c3e241 100755 (executable)
@@ -242,6 +242,11 @@ class userAgent {
       $this->version = $regs[1];
       $this->bot = false;
     }
+    elseif (preg_match('|Tablet browser ([0-9a-zA-Z\.+]+)|', $this->uastring, $regs)) {
+      $this->brand = 'microB';
+      $this->version = $regs[1];
+      $this->bot = false;
+    }
     elseif (preg_match('|Opera\/([^\(]+) \(.*; Opera Mini; |', $this->uastring, $regs)) {
       $this->brand = 'Opera Mini';
       $this->version = $regs[1];