mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 02:01:40 +09:00
merge from 1.4.5 branche
git-svn-id: http://xe-core.googlecode.com/svn/trunk@8239 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7d10ebd968
commit
825ccd8328
57 changed files with 932 additions and 645 deletions
|
|
@ -60,6 +60,14 @@ class Mobile {
|
|||
return $this->ismobile;
|
||||
}
|
||||
|
||||
function isMobileCheckByAgent()
|
||||
{
|
||||
if(preg_match('/(iPod|iPhone|Android|BlackBerry|SymbianOS|SCH\-M[0-9]+)/',$_SERVER['HTTP_USER_AGENT']))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
function setMobile($ismobile)
|
||||
{
|
||||
$oMobile =& Mobile::getInstance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue