css 통합시 url이 / 로부터 시작하는 절대경로일 경우 경로 수정하지 않도록 코드 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2680 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-10-05 01:51:28 +00:00
parent 9071858058
commit 3aa66b81e0

View file

@ -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]);
}