diff --git a/src/node/utils/Settings.js b/src/node/utils/Settings.js index 91fe5d7c..d9e03acf 100644 --- a/src/node/utils/Settings.js +++ b/src/node/utils/Settings.js @@ -626,19 +626,19 @@ exports.reloadSettings = function reloadSettings() { log4js.replaceConsole(); if (!exports.skinName) { - console.warn(`No "skinName" parameter found. Please check out settings.json.template and update your settings.json. Falling back to the default "no-skin".`); - exports.skinName = "no-skin"; + console.warn(`No "skinName" parameter found. Please check out settings.json.template and update your settings.json. Falling back to the default "colibris".`); + exports.skinName = "colibris"; } - // checks if skinName has an acceptable value, otherwise falls back to "no-skin" + // checks if skinName has an acceptable value, otherwise falls back to "colibris" if (exports.skinName) { const skinBasePath = path.join(exports.root, "src", "static", "skins"); const countPieces = exports.skinName.split(path.sep).length; if (countPieces != 1) { - console.error(`skinName must be the name of a directory under "${skinBasePath}". This is not valid: "${exports.skinName}". Falling back to the default "no-skin".`); + console.error(`skinName must be the name of a directory under "${skinBasePath}". This is not valid: "${exports.skinName}". Falling back to the default "colibris".`); - exports.skinName = "no-skin"; + exports.skinName = "colibris"; } // informative variable, just for the log messages @@ -646,15 +646,15 @@ exports.reloadSettings = function reloadSettings() { // what if someone sets skinName == ".." or "."? We catch him! if (absolutePaths.isSubdir(skinBasePath, skinPath) === false) { - console.error(`Skin path ${skinPath} must be a subdirectory of ${skinBasePath}. Falling back to the default "no-skin".`); + console.error(`Skin path ${skinPath} must be a subdirectory of ${skinBasePath}. Falling back to the default "colibris".`); - exports.skinName = "no-skin"; + exports.skinName = "colibris"; skinPath = path.join(skinBasePath, exports.skinName); } if (fs.existsSync(skinPath) === false) { - console.error(`Skin path ${skinPath} does not exist. Falling back to the default "no-skin".`); - exports.skinName = "no-skin"; + console.error(`Skin path ${skinPath} does not exist. Falling back to the default "colibris".`); + exports.skinName = "colibris"; skinPath = path.join(skinBasePath, exports.skinName); }