From a0991ceeb1573a2a59611acc82c88079e8aeed32 Mon Sep 17 00:00:00 2001 From: zero Date: Fri, 27 Jun 2008 08:31:40 +0000 Subject: [PATCH] =?UTF-8?q?sym=20link=EC=9D=BC=20=EA=B2=BD=EC=9A=B0=20getS?= =?UTF-8?q?criptPath()=EA=B0=80=20=EC=98=A4=EB=8F=99=EC=9E=91=ED=95=98?= =?UTF-8?q?=EB=8D=98=20=EB=AC=B8=EC=A0=9C=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@4332 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- config/func.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/func.inc.php b/config/func.inc.php index cf34e214d..ae687f46f 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -474,7 +474,7 @@ function getScriptPath() { static $url = null; if($url === null) { - $document_root = str_replace('\\','/',$_SERVER['DOCUMENT_ROOT']); + $document_root = str_replace('\\','/',realpath($_SERVER['DOCUMENT_ROOT'])); $file = str_replace('\\','/',__FILE__); $url = preg_replace('/index.php/i','',str_replace('config/func.inc.php','',str_replace($document_root, '', $file))); }