little fix for notice message

This commit is contained in:
Erik Amaru Ortiz
2014-06-23 13:03:34 -04:00
parent 064c9c7a1e
commit 83b80fc17e

View File

@@ -1057,9 +1057,13 @@ class Bootstrap
if ($skinName == "classic") {
$configurationFile = Bootstrap::ExpandPath("skinEngine") . 'base' . PATH_SEP . 'config.xml';
} else {
$configurationFile = PATH_CUSTOM_SKINS . $skinName . PATH_SEP . 'config.xml';
$configurationFile = "";
if (!is_file($configurationFile)) {
if (defined("PATH_CUSTOM_SKINS")) {
$configurationFile = PATH_CUSTOM_SKINS . $skinName . PATH_SEP . 'config.xml';
}
if (! is_file($configurationFile)) {
$configurationFile = Bootstrap::ExpandPath("skinEngine") . $skinName . PATH_SEP . 'config.xml';
}
}