mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
add blackberry!
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7551 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
de7c79442c
commit
2c81ef1841
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class Mobile {
|
||||||
}
|
}
|
||||||
else
|
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;
|
return $this->ismobile;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue