diff --git a/classes/optimizer/Optimizer.class.php b/classes/optimizer/Optimizer.class.php index 494919487..a856c841f 100644 --- a/classes/optimizer/Optimizer.class.php +++ b/classes/optimizer/Optimizer.class.php @@ -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.'")'; }