From dda8a1082d854023bf810f20b6467a7b7047821b Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 21 Aug 2007 08:50:53 +0000 Subject: [PATCH] =?UTF-8?q?#88=20getRequestUri()=20=ED=95=A8=EC=88=98?= =?UTF-8?q?=EC=97=90=EC=84=9C=20HTTP=5FHOST=EC=82=AC=EC=9A=A9=EC=8B=9C=208?= =?UTF-8?q?0=EB=B2=88=20=EC=9D=B4=EC=99=B8=EC=9D=98=20=ED=8F=AC=ED=8A=B8?= =?UTF-8?q?=EA=B0=92=EC=9D=B4=20=EC=9E=90=EB=8F=99=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=97=B0=EA=B2=B0=EB=90=98=EA=B8=B0=EC=97=90=20SERVER=5FPORT?= =?UTF-8?q?=20=EC=97=B0=EA=B2=B0=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2365 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/context/Context.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index a56fa2420..dd3e69aa5 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -565,8 +565,8 @@ **/ function getRequestUri() { $hostname = $_SERVER['HTTP_HOST']; - $port = $_SERVER['SERVER_PORT']; - if($port!=80) $hostname .= ":{$port}"; + //$port = $_SERVER['SERVER_PORT']; + //if($port!=80) $hostname .= ":{$port}"; $path = str_replace('index.php','',$_SERVER['SCRIPT_NAME']); return sprintf("http://%s%s",$hostname,$path); }