mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
모바일 뷰어 사용중일 경우 모바일 최적화 화면 문구 뜨도록 개선
This commit is contained in:
parent
1f9844ed08
commit
4b1025e8c5
3 changed files with 9 additions and 7 deletions
|
|
@ -52,9 +52,7 @@ class Mobile
|
|||
{
|
||||
return $this->ismobile;
|
||||
}
|
||||
|
||||
$db_info = Context::getDBInfo();
|
||||
if($db_info->use_mobile_view != "Y" || Context::get('full_browse') || $_COOKIE["FullBrowse"])
|
||||
if(Mobile::isMobileEnabled() === false || Context::get('full_browse') || $_COOKIE["FullBrowse"])
|
||||
{
|
||||
return ($this->ismobile = false);
|
||||
}
|
||||
|
|
@ -234,5 +232,10 @@ class Mobile
|
|||
$oMobile->ismobile = $ismobile;
|
||||
}
|
||||
|
||||
function isMobileEnabled()
|
||||
{
|
||||
$db_info = Context::getDBInfo();
|
||||
return ($db_info->use_mobile_view === 'Y');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue