Skip to content
Snippets Groups Projects
Commit 0197c258 authored by deuce's avatar deuce
Browse files

Add defaults from modopts into here.

parent 833542c5
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,18 @@ var webIni=(function() {
var webIni = get_mod_options("ecweb");
if(webIni==null)
webIni={};
if(webIni.RootDirectory==undefined)
webIni.RootDirectory='../web/root/ecwebv3';
if(webIni.WebGuest==undefined)
webIni.WebGuest='Guest';
if(webIni.appendURL==undefined)
webIni.appendURL='/ecwebv3/';
if(webIni.sessionTimeout==undefined)
webIni.sessionTimeout=43200;
if(webIni.captchaLength==undefined)
webIni.captchaLength=5;
if(webIni.maxMessages==undefined)
webIni.maxMessages=0;
var f = new File(file_cfgname(system.ctrl_dir,'sbbs.ini'));
f.open("r");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment