윈도우 서버에서 css파일등의 위치를 지정할때 슬래시가 아닌 역슬래시가 적용되는 문제 해결

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2663 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-10-02 04:36:10 +00:00
parent 5bf86c83c2
commit 2b8fca8654

View file

@ -30,6 +30,7 @@
for($i=0;$i<$file_count;$i++) {
$file = trim($source_files[$i]);
if(!$file) continue;
$file = str_replace("\\","/",$file);
if(eregi("^http:\/\/",$file) || $file == './common/css/button.css') $files[] = $file;
else $targets[] = $file;
}