script path 찾는 함수를 일단 0.2.8로 rollback. 차후 보다 자세한 환경에서 테스트후 원위치

git-svn-id: http://xe-core.googlecode.com/svn/trunk@3742 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-02-19 16:28:53 +00:00
parent 2318141643
commit 765bbfb210

View file

@ -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.'")';
}