mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6961 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b53dded298
commit
be661b7b53
5 changed files with 36 additions and 2 deletions
|
|
@ -11,7 +11,12 @@
|
|||
var $content = null;
|
||||
|
||||
function isFromSmartPhone() {
|
||||
return Context::get('smartphone') || preg_match('/(iPod|iPhone|SCH\-M[0-9]+)/',$_SERVER['HTTP_USER_AGENT']);
|
||||
if(Context::get('full_browse') || $_COOKIE["FullBrowse"])
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return Context::get('smartphone') || preg_match('/(iPod|iPhone|SCH\-M[0-9]+)/',$_SERVER['HTTP_USER_AGENT']);
|
||||
}
|
||||
|
||||
function haveSmartphoneModule($module) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue