mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 2800
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12704 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b0d2154c99
commit
d77530f883
1 changed files with 2 additions and 1 deletions
|
|
@ -407,12 +407,13 @@ class ModuleObject extends Object
|
|||
if($usedSkinModule && $is_default_skin && $this->module != 'admin' && strpos($this->act, 'Admin') === false)
|
||||
{
|
||||
$dir = (Mobile::isFromMobilePhone()) ? 'm.skins' : 'skins';
|
||||
$valueName = (Mobile::isFromMobilePhone()) ? 'mskin' : 'skin';
|
||||
$oModuleModel = getModel('module');
|
||||
$skinType = (Mobile::isFromMobilePhone()) ? 'M' : 'P';
|
||||
$skinName = $oModuleModel->getModuleDefaultSkin($this->module, $skinType);
|
||||
if($this->module == 'page')
|
||||
{
|
||||
$this->module_info->skin = $skinName;
|
||||
$this->module_info->{$valueName} = $skinName;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue