mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
optimizer에서 url의 경로가 절대경로(/로 시작)할때에 경로 변경하지않도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3741 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
941ee42a0b
commit
937770d559
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ if(!$cached) {
|
|||
|
||||
function _replaceCssPath($matches) {
|
||||
$path = str_replace(array('"',"'"),'',$matches[1]);
|
||||
if(preg_match('/^http/i', $path) || preg_match('/\.htc$/i',$path) ) return $matches[0];
|
||||
if(preg_match('/^http|^\//i', $path) || preg_match('/\.htc$/i',$path) ) return $matches[0];
|
||||
|
||||
return 'url("../../../../'.$this->tmp_css_path.$path.'")';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue