Skip to content
Snippets Groups Projects
Commit 69b66460 authored by echicken's avatar echicken
Browse files

Load forum.ssjs relative to WebDirectory value from modopts.

parent 5a716b7b
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// echicken -at- bbs.electronicchicken.com // echicken -at- bbs.electronicchicken.com
load('webInit.ssjs'); load('webInit.ssjs');
load("../web/lib/forum.ssjs"); load(webIni.WebDirectory + "/lib/forum.ssjs");
if(typeof http_request.query.postmessage != "undefined") { if(typeof http_request.query.postmessage != "undefined") {
var x = postMessage( var x = postMessage(
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// echicken -at- bbs.electronicchicken.com // echicken -at- bbs.electronicchicken.com
load('webInit.ssjs'); load('webInit.ssjs');
load("../web/lib/forum.ssjs"); load(webIni.WebDirectory + "/lib/forum.ssjs");
print("<span class='title'>Forum</span><br /><br />"); print("<span class='title'>Forum</span><br /><br />");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment