Skip to content
Snippets Groups Projects
Commit bce66ade authored by deuce's avatar deuce
Browse files

Remove hard-coded relative path.

parent 30464b55
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(session.web_root_dir+"/lib/forum.ssjs");
if(typeof http_request.query.postmessage != "undefined") { if(typeof http_request.query.postmessage != "undefined") {
var x = postMessage( var x = postMessage(
...@@ -26,4 +26,4 @@ if(typeof http_request.query.postmessage != "undefined") { ...@@ -26,4 +26,4 @@ if(typeof http_request.query.postmessage != "undefined") {
printThreads(http_request.query.sub); printThreads(http_request.query.sub);
else if(typeof http_request.query.sub != "undefined" && typeof http_request.query.thread != "undefined") else if(typeof http_request.query.sub != "undefined" && typeof http_request.query.thread != "undefined")
printThread(http_request.query.sub, parseInt(http_request.query.thread)); printThread(http_request.query.sub, parseInt(http_request.query.thread));
} }
\ No newline at end of file
...@@ -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(session.web_root_dir+"/lib/forum.ssjs");
print("<span class='title'>Forum</span><br /><br />"); print("<span class='title'>Forum</span><br /><br />");
...@@ -43,4 +43,4 @@ if(typeof http_request.query.sub != "undefined" && http_request.query.sub != 'ma ...@@ -43,4 +43,4 @@ if(typeof http_request.query.sub != "undefined" && http_request.query.sub != 'ma
); );
} }
print("</script>"); print("</script>");
} }
\ No newline at end of file
...@@ -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(session.web_root_dir+"/lib/forum.ssjs");
if(user.alias != webIni.WebGuest) { if(user.alias != webIni.WebGuest) {
...@@ -51,4 +51,4 @@ if(user.alias != webIni.WebGuest) { ...@@ -51,4 +51,4 @@ if(user.alias != webIni.WebGuest) {
} }
print("</script>"); print("</script>");
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment