diff --git a/core/config.js b/core/config.js index 935aa5f8..49f9d103 100644 --- a/core/config.js +++ b/core/config.js @@ -77,6 +77,7 @@ function getDefaultConfig() { preLoginTheme : '*', + // :TODO: change to nua users : { usernameMin : 2, usernameMax : 22, diff --git a/core/logger.js b/core/logger.js index 81b41f81..5ad445ec 100644 --- a/core/logger.js +++ b/core/logger.js @@ -23,7 +23,11 @@ module.exports = { logPathError = logPath + ' is not a directory!'; } } catch(e) { - logPathError = e.message; + if('ENOENT' === e.code) { + logPathError = 'No such file or directory: ' + logPath; + } else { + logPathError = e.message; + } } if(logPathError) { diff --git a/mods/art/DEMOMAIN.ANS b/mods/art/DEMOMAIN.ANS new file mode 100644 index 00000000..ea311ab2 Binary files /dev/null and b/mods/art/DEMOMAIN.ANS differ diff --git a/mods/menu.json b/mods/menu.json index e1d5eb95..a12fc0e2 100644 --- a/mods/menu.json +++ b/mods/menu.json @@ -153,5 +153,20 @@ // :TODO: implement MCI codes for this "cls" : true } + }, + "demoMain" : { + "art" : "DEMOMAIN", + "options" : { "cls" : true }, + "form" : { + "0" : { + "VM1" : { + "mci" : { + "VM1" : { + "items" : [ "Views" ] + } + } + } + } + } } } \ No newline at end of file