Commit 43260b05 authored by echicken's avatar echicken 🐔

Attempt to ensure minimum default settings.

parent 27ae1aa1
Pipeline #315 passed with stage
in 19 minutes
require('sbbsdefs.js', 'SYS_CLOSED');
var settings = load('modopts.js', 'web');
var settings = load('modopts.js', 'web') || { web_directory: '../webv4' };
load(settings.web_directory + '/lib/init.js');
load(settings.web_lib + 'auth.js');
......
var settings = load('modopts.js', 'web');
var settings = load('modopts.js', 'web') || { web_directory: '../webv4' };
load(settings.web_directory + '/lib/init.js');
load(settings.web_lib + 'auth.js');
......
require('sbbsdefs.js', 'SYS_CLOSED');
var settings = load('modopts.js', 'web');
var settings = load('modopts.js', 'web') || { web_directory: '../webv4' };
load(settings.web_directory + '/lib/init.js');
load(settings.web_lib + 'auth.js');
load(settings.web_lib + 'request.js');
......
load('sbbsdefs.js');
var settings = load('modopts.js', 'web');
var settings = load('modopts.js', 'web') || { web_directory: '../webv4' };
load(settings.web_directory + '/lib/init.js');
load(settings.web_lib + 'auth.js');
......
......@@ -3,7 +3,7 @@
is done here; otherwise all permission checking is done at the function
level. */
var settings = load('modopts.js', 'web');
var settings = load('modopts.js', 'web') || { web_directory: '../webv4' };
load(settings.web_directory + '/lib/init.js');
load(settings.web_lib + 'auth.js');
......
......@@ -21,7 +21,7 @@
require('sbbsdefs.js', 'SYS_CLOSED');
require('hmac.js', 'hmac_sha1');
var options = load({}, 'modopts.js', 'github_notify');
load(system.exec_dir + '../web/lib/init.js');
load(system.exec_dir + '../webv4/lib/init.js');
function b2h(str) {
return str.split('').map(function (e) {
......
require('sbbsdefs.js', 'SYS_CLOSED');
var settings = load('modopts.js', 'web');
var settings = load('modopts.js', 'web') || { web_directory: '../webv4' };
load(settings.web_directory + '/lib/init.js');
load(settings.web_lib + 'auth.js');
load(settings.web_lib + 'request.js');
......
require('sbbsdefs.js', 'SYS_CLOSED'); // Is this actually used?
require('nodedefs.js', 'NODE_WFC'); // Is this actually used?
var settings = load('modopts.js', 'web');
var settings = load('modopts.js', 'web') || { web_directory: '../webv4' };
load(settings.web_directory + '/lib/init.js');
load(settings.web_lib + 'auth.js');
var sbbsimsg = load({}, "sbbsimsg_lib.js");
......
require('sbbsdefs.js', 'SYS_CLOSED');
require('nodedefs.js', 'NODE_WFC');
var settings = load('modopts.js', 'web');
var settings = load('modopts.js', 'web') || { web_directory: '../webv4' };
load(settings.web_directory + '/lib/init.js');
load(settings.web_lib + 'auth.js');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment