윈도우에서 외부 페이지 사용시 경로가 정상적으로 표시되지 않던 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7353 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2010-03-18 14:42:23 +00:00
parent 75455ed414
commit 050e5a7c8c

View file

@ -110,7 +110,7 @@
// 상대경로를 절대경로로 변경
$path_info = pathinfo($path);
$this->path = realpath($path_info['dirname']).'/';
$this->path = str_replace('\\', '/', realpath($path_info['dirname'])).'/';
$content = preg_replace_callback('/(src=|href=|url\()("|\')?([^"\'\)]+)("|\'\))?/is',array($this,'_replacePath'),$content);
$content = preg_replace_callback('/(<!--%import\()(\")([^"]+)(\")/is',array($this,'_replacePath'),$content);