mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
#19160983 심비안OS에 대한 모바일뷰 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7734 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
156471935d
commit
3929b9a0c2
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ class Mobile {
|
||||||
}
|
}
|
||||||
else if($_COOKIE["mobile"]) $this->ismobile = true;
|
else if($_COOKIE["mobile"]) $this->ismobile = true;
|
||||||
else {
|
else {
|
||||||
if(preg_match('/(iPod|iPhone|Android|BlackBerry|SCH\-M[0-9]+)/',$_SERVER['HTTP_USER_AGENT']))
|
if(preg_match('/(iPod|iPhone|Android|BlackBerry|SymbianOS|SCH\-M[0-9]+)/',$_SERVER['HTTP_USER_AGENT']))
|
||||||
{
|
{
|
||||||
setcookie("mobile", true);
|
setcookie("mobile", true);
|
||||||
$this->ismobile = true;
|
$this->ismobile = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue