mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
css 통합시 url이 / 로부터 시작하는 절대경로일 경우 경로 수정하지 않도록 코드 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2680 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9071858058
commit
3aa66b81e0
1 changed files with 1 additions and 2 deletions
|
|
@ -139,8 +139,7 @@ EndOfBuff;
|
|||
}
|
||||
|
||||
function _replaceCssPath($matches) {
|
||||
if(eregi("^http",$matches[2])) return $matches[0];
|
||||
if(eregi("^\.\/common\/",$matches[2])) return $matches[0];
|
||||
if(eregi("^(http|\/|\.\/common\/)",$matches[2])) return $matches[0];
|
||||
return sprintf('url(%s%s)', $matches[1], $this->tmp_css_path.$matches[2]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue