issue 2370 fixed install script.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12104 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-11-04 08:45:54 +00:00
parent 69807cf0db
commit 2312f34813
2 changed files with 6 additions and 26 deletions

View file

@ -1410,7 +1410,7 @@
/**
* Get default skin name
**/
function getModuleDefaultSkin($module_name, $skin_type = 'P', $site_srl = 0)
function getModuleDefaultSkin($module_name, $skin_type = 'P', $site_srl = 0, $updateCache = true)
{
$target = ($skin_type == 'M') ? 'mskin' : 'skin';
@ -1448,7 +1448,7 @@
}
}
if($skinName)
if($updateCache && $skinName)
{
$designInfo->module->{$module_name}->{$target} = $skinName;