PMCORE-3669 Sensitive Information Disclosure SEC-32
This commit is contained in:
@@ -810,7 +810,7 @@ class Bootstrap
|
||||
|
||||
//First get Skin info
|
||||
$filenameParts = explode("-", $filename);
|
||||
$skinName = $filenameParts[0];
|
||||
$skinName = empty($filenameParts[0]) ? 'base' : $filenameParts[0];
|
||||
$skinVariant = "skin";
|
||||
|
||||
if (isset($filenameParts[1])) {
|
||||
@@ -837,6 +837,9 @@ class Bootstrap
|
||||
$configurationFile = Bootstrap::ExpandPath("skinEngine") . $skinName . PATH_SEP . 'config.xml';
|
||||
}
|
||||
}
|
||||
if (!file_exists($configurationFile)) {
|
||||
$configurationFile = Bootstrap::ExpandPath("skinEngine") . 'base' . PATH_SEP . 'config.xml';
|
||||
}
|
||||
|
||||
$mtime = date('U');
|
||||
$gmt_mtime = gmdate("D, d M Y H:i:s", $mtime) . " GMT";
|
||||
|
||||
Reference in New Issue
Block a user