add blackberry!

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7551 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-06-24 08:39:39 +00:00
parent de7c79442c
commit 2c81ef1841

View file

@ -23,7 +23,7 @@ class Mobile {
}
else
{
$this->ismobile = Context::get('mobile') || preg_match('/(iPod|iPhone|Android|SCH\-M[0-9]+)/',$_SERVER['HTTP_USER_AGENT']);
$this->ismobile = Context::get('mobile') || preg_match('/(iPod|iPhone|Android|BlackBerry|SCH\-M[0-9]+)/',$_SERVER['HTTP_USER_AGENT']);
}
return $this->ismobile;