From 83b80fc17e58e2cd6420cbe63a256491a5a61bd5 Mon Sep 17 00:00:00 2001 From: Erik Amaru Ortiz Date: Mon, 23 Jun 2014 13:03:34 -0400 Subject: [PATCH] little fix for notice message --- gulliver/system/class.bootstrap.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gulliver/system/class.bootstrap.php b/gulliver/system/class.bootstrap.php index 1add547a5..36ec128d5 100644 --- a/gulliver/system/class.bootstrap.php +++ b/gulliver/system/class.bootstrap.php @@ -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'; } }