Commit 1d1e8671 authored by Deucе's avatar Deucе 👌🏾

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 c10392e0
<?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');
......
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