mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 19:59:54 +09:00
윈도우에서 외부 페이지 사용시 경로가 정상적으로 표시되지 않던 문제 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7353 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
75455ed414
commit
050e5a7c8c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue