From 26b0a24b72fb80aaeb4b668160442dde66f4e99d Mon Sep 17 00:00:00 2001 From: taggon Date: Tue, 19 Jan 2010 11:25:46 +0000 Subject: [PATCH] =?UTF-8?q?#18601228=20Context::addJsFilter=20=EB=A9=94?= =?UTF-8?q?=EC=86=8C=EB=93=9C=EC=97=90=EC=84=9C=20"http://"=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=ED=86=A0=EC=BD=9C=EC=9D=84=20=EC=A0=9C=EB=8C=80?= =?UTF-8?q?=EB=A1=9C=20=EC=A7=80=EC=9B=90=ED=95=98=EC=A7=80=20=EB=AA=BB?= =?UTF-8?q?=ED=95=98=EB=8D=98=20=EB=B2=84=EA=B7=B8=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@7169 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 94ab2e8f4..2406f8b7f 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -1169,8 +1169,8 @@ * @brief js file을 추가 **/ function _addJsFile($file, $optimized, $targetie,$index) { - if(strpos($file,'://')===false && substr($file,0,1)!='/' && substr($file,0,1)!='.') $file = './'.$file; - $file = str_replace(array('/./','//'),'/',$file); + if(strpos($file,'://')===false && $file{0}!='/' && $file{0}!='.') $file = './'.$file; + $file = preg_replace('@/\./|(?js_files)) return;