Skip to content
Snippets Groups Projects
Commit e6552774 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Use a better default for web root.

This should be use in all the other places, but this was enough for
me to debug the issue at hand.
parent c8936bc2
Branches
Tags
No related merge requests found
<?xjs
var settings = load('modopts.js', 'web') || { web_directory: '../webv4' };
var settings = load('modopts.js', 'web') || { web_directory: web_root_dir + '/..' };
load(settings.web_directory + '/lib/init.js');
load(settings.web_lib + 'auth.js');
load(settings.web_lib + 'pages.js');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment