diff --git a/web/root/ecwebv3/forum-async.ssjs b/web/root/ecwebv3/forum-async.ssjs index 88552e19938f7cb4ca4a769f3c356a30e6b24d57..e187c73f979c09947f461b5645f14a38494aec1f 100644 --- a/web/root/ecwebv3/forum-async.ssjs +++ b/web/root/ecwebv3/forum-async.ssjs @@ -2,7 +2,7 @@ // echicken -at- bbs.electronicchicken.com load('webInit.ssjs'); -load("../web/lib/forum.ssjs"); +load(session.web_root_dir+"/lib/forum.ssjs"); if(typeof http_request.query.postmessage != "undefined") { var x = postMessage( @@ -26,4 +26,4 @@ if(typeof http_request.query.postmessage != "undefined") { printThreads(http_request.query.sub); else if(typeof http_request.query.sub != "undefined" && typeof http_request.query.thread != "undefined") printThread(http_request.query.sub, parseInt(http_request.query.thread)); -} \ No newline at end of file +} diff --git a/web/root/ecwebv3/pages/002-forum.ssjs b/web/root/ecwebv3/pages/002-forum.ssjs index ab8f63535723dec65002ea54e6ba04b912faf3fb..8f8c068750b49344e6195a1cd660117b352123af 100644 --- a/web/root/ecwebv3/pages/002-forum.ssjs +++ b/web/root/ecwebv3/pages/002-forum.ssjs @@ -3,7 +3,7 @@ // echicken -at- bbs.electronicchicken.com load('webInit.ssjs'); -load("../web/lib/forum.ssjs"); +load(session.web_root_dir+"/lib/forum.ssjs"); print("<span class='title'>Forum</span><br /><br />"); @@ -43,4 +43,4 @@ if(typeof http_request.query.sub != "undefined" && http_request.query.sub != 'ma ); } print("</script>"); -} \ No newline at end of file +} diff --git a/web/root/ecwebv3/pages/999-email.ssjs b/web/root/ecwebv3/pages/999-email.ssjs index 9a9f3f1177046607921d2ea68579b3d000c74cc1..6e7a0f07bb38c5442ad93a450a423dea74ad8b21 100644 --- a/web/root/ecwebv3/pages/999-email.ssjs +++ b/web/root/ecwebv3/pages/999-email.ssjs @@ -3,7 +3,7 @@ // echicken -at- bbs.electronicchicken.com load('webInit.ssjs'); -load("../web/lib/forum.ssjs"); +load(session.web_root_dir+"/lib/forum.ssjs"); if(user.alias != webIni.WebGuest) { @@ -51,4 +51,4 @@ if(user.alias != webIni.WebGuest) { } print("</script>"); -} \ No newline at end of file +}