* Moved themes from mods/art/themes > mods/themes/
This commit is contained in:
parent
4e2c21059a
commit
1a1dd53ca1
|
@ -285,9 +285,9 @@ function getArt(name, options, cb) {
|
|||
if('' !== ext) {
|
||||
options.types = [ ext.toLowerCase() ];
|
||||
} else {
|
||||
if(typeof options.types === 'undefined') {
|
||||
if(_.isUndefined(options.types)) {
|
||||
options.types = Object.keys(SUPPORTED_ART_TYPES);
|
||||
} else if(typeof options.types === 'string') {
|
||||
} else if(_.isString(options.types)) {
|
||||
options.types = [ options.types.toLowerCase() ];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ function getDefaultConfig() {
|
|||
mods : paths.join(__dirname, './../mods/'),
|
||||
servers : paths.join(__dirname, './servers/'),
|
||||
art : paths.join(__dirname, './../mods/art/'),
|
||||
themes : paths.join(__dirname, './../mods/art/themes/'),
|
||||
themes : paths.join(__dirname, './../mods/themes/'),
|
||||
logs : paths.join(__dirname, './../logs/'), // :TODO: set up based on system, e.g. /var/logs/enigmabbs or such
|
||||
db : paths.join(__dirname, './../db/'),
|
||||
},
|
||||
|
|
|
@ -55,6 +55,7 @@ function MenuModule(options) {
|
|||
if(_.isString(assetSpec.asset)) {
|
||||
// :TODO: think about this more in relation to themes, etc. How can this come
|
||||
// from a theme (with override from menu.json) ???
|
||||
// look @ client.currentTheme.inlineArt[name] -> menu/prompt[name]
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue