From 0829809b617a957c7e3c1890e959bd84427fae26 Mon Sep 17 00:00:00 2001 From: echicken <> Date: Thu, 24 Jan 2013 19:58:17 +0000 Subject: [PATCH] Don't need to specify port number - it's included in http_request.host. --- web/root/ecwebv3/lightirc/lightirc.xjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/root/ecwebv3/lightirc/lightirc.xjs b/web/root/ecwebv3/lightirc/lightirc.xjs index af5fe92107..9b57854a60 100644 --- a/web/root/ecwebv3/lightirc/lightirc.xjs +++ b/web/root/ecwebv3/lightirc/lightirc.xjs @@ -16,7 +16,7 @@ <html> <head> -<script type="text/javascript" src="http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/swfobject.js"></script> +<script type="text/javascript" src="http://<?xjs write(http_request.host); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/swfobject.js"></script> <link rel="stylesheet" type="text/css" href="../style/style.css" /> </head> @@ -36,7 +36,7 @@ var params = { quitmsg : "<?xjs write(system.name); ?>" }; if(<?xjs write(embed); ?>) - swfobject.embedSWF('http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/lightIRC.swf', 'lightIRC', '730', '420', '9.0.0', null, params, null); + swfobject.embedSWF('http://<?xjs write(http_request.host); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/lightIRC.swf', 'lightIRC', '730', '420', '9.0.0', null, params, null); else document.getElementById('lightIRC').innerHTML = 'Socket policy server not enabled. LightIRC not loaded.'; </script> -- GitLab