#18960935 : use use_mobile option instead of mlayout_srl

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7538 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-06-22 07:39:04 +00:00
parent be1d9e25d2
commit 39210c6a8b

View file

@ -203,8 +203,7 @@
$type = $xml_info->action->{$this->act}->type;
$kind = strpos(strtolower($this->act),'admin')!==false?'admin':'';
if(!$kind && $this->module == 'admin') $kind = 'admin';
if(!$this->module_info->mlayout_srl) Mobile::setMobile(false);
if($this->module_info->use_mobile != "Y") Mobile::setMobile(false);
// if(type == view, and case for using mobilephone)
if($type == "view" && Mobile::isFromMobilePhone() && Context::isInstalled())