Method "AssetController::adjustCssUrl()" has been complete.

This commit is contained in:
Klimov Paul
2013-05-26 20:59:03 +03:00
parent 265a6f1c39
commit b6ec6085fe
2 changed files with 7 additions and 7 deletions

View File

@@ -579,7 +579,7 @@ EOD
return str_replace($inputUrl, $outputUrl, $fullMatch);
};
$cssContent = preg_replace_callback('/[\w\-]:\s*url\("([^"]*)"\)+/is', $callback, $cssContent);
$cssContent = preg_replace_callback('/url\(["\']?([^"]*)["\']?\)/is', $callback, $cssContent);
return $cssContent;
}