From e6552774045ba3bd60aed2a7e5297ddb1af95e4d Mon Sep 17 00:00:00 2001 From: Stephen Hurd <shurd@sasktel.net> Date: Wed, 18 Nov 2020 02:41:42 -0500 Subject: [PATCH] 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. --- webv4/root/index.xjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webv4/root/index.xjs b/webv4/root/index.xjs index 6445845624..477b77f418 100644 --- a/webv4/root/index.xjs +++ b/webv4/root/index.xjs @@ -1,5 +1,5 @@ <?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'); -- GitLab