mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
* Not much. Will start on DEMO mode for View development, etc.
This commit is contained in:
parent
f4a5b9e4be
commit
ca2274dcf5
4 changed files with 21 additions and 1 deletions
|
@ -77,6 +77,7 @@ function getDefaultConfig() {
|
||||||
|
|
||||||
preLoginTheme : '*',
|
preLoginTheme : '*',
|
||||||
|
|
||||||
|
// :TODO: change to nua
|
||||||
users : {
|
users : {
|
||||||
usernameMin : 2,
|
usernameMin : 2,
|
||||||
usernameMax : 22,
|
usernameMax : 22,
|
||||||
|
|
|
@ -23,7 +23,11 @@ module.exports = {
|
||||||
logPathError = logPath + ' is not a directory!';
|
logPathError = logPath + ' is not a directory!';
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
logPathError = e.message;
|
if('ENOENT' === e.code) {
|
||||||
|
logPathError = 'No such file or directory: ' + logPath;
|
||||||
|
} else {
|
||||||
|
logPathError = e.message;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(logPathError) {
|
if(logPathError) {
|
||||||
|
|
BIN
mods/art/DEMOMAIN.ANS
Normal file
BIN
mods/art/DEMOMAIN.ANS
Normal file
Binary file not shown.
|
@ -153,5 +153,20 @@
|
||||||
// :TODO: implement MCI codes for this
|
// :TODO: implement MCI codes for this
|
||||||
"cls" : true
|
"cls" : true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"demoMain" : {
|
||||||
|
"art" : "DEMOMAIN",
|
||||||
|
"options" : { "cls" : true },
|
||||||
|
"form" : {
|
||||||
|
"0" : {
|
||||||
|
"VM1" : {
|
||||||
|
"mci" : {
|
||||||
|
"VM1" : {
|
||||||
|
"items" : [ "Views" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue