From 009913feac2ec1ada00455f4b4b0f30595b6cd9f Mon Sep 17 00:00:00 2001 From: echicken <> Date: Tue, 28 Aug 2012 21:59:59 +0000 Subject: [PATCH] ... --- web/root/ecwebv3/pages/002-forum.ssjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/root/ecwebv3/pages/002-forum.ssjs b/web/root/ecwebv3/pages/002-forum.ssjs index aaaefac244..2923d25725 100644 --- a/web/root/ecwebv3/pages/002-forum.ssjs +++ b/web/root/ecwebv3/pages/002-forum.ssjs @@ -17,8 +17,8 @@ if(http_request.query.hasOwnProperty('board')) { if(http_request.query.hasOwnProperty('sub')) { print("<script type='text/javascript'>"); - print("loadThreads('http://" + webIni.HostName + ":" + webIni.HTTPPort + "/forum-async.ssjs', '" + http_request.query.sub + "', " + ((http_request.query.hasOwnProperty('thread'))?false:true) + ");"); + print("loadThreads('http://" + system.inet_addr + ":" + webIni.HTTPPort + "/forum-async.ssjs', '" + http_request.query.sub + "', " + ((http_request.query.hasOwnProperty('thread'))?false:true) + ");"); if(http_request.query.hasOwnProperty('thread')) - print("loadThread('http://" + webIni.HostName + ":" + webIni.HTTPPort + "/forum-async.ssjs', '" + http_request.query.sub + "', '" + http_request.query.thread + "', " + false + ");"); + print("loadThread('http://" + system.inet_addr + ":" + webIni.HTTPPort + "/forum-async.ssjs', '" + http_request.query.sub + "', '" + http_request.query.thread + "', " + false + ");"); print("</script>"); } \ No newline at end of file -- GitLab