1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-24 06:32:56 +02:00

Update UriRewriting.wiki.md

This commit is contained in:
Steve Clay
2015-10-02 11:12:02 -04:00
parent 3a3354aec6
commit d184597a2f

View File

@@ -26,7 +26,7 @@ $min_serveOptions['rewriteCssUris'] = false;
You can manually rewrite relative URIs in CSS in a couple ways. The simplest is to prepend a string to each relative URI: You can manually rewrite relative URIs in CSS in a couple ways. The simplest is to prepend a string to each relative URI:
```php ```php
$min_serveOptions['rewriteCssUris'] = false; $min_serveOptions['rewriteCssUris'] = false;
$min_serveOptions['minifierOptions'][MINIFY::TYPE_CSS]['prependRelativePath'] = '/css/'; $min_serveOptions['minifierOptions'][Minify::TYPE_CSS]['prependRelativePath'] = '/css/';
``` ```
Or you can run the minified output through a custom [post-processor](CookBook.wiki.md#Processing_Output_After_Minification.md) function. Or you can run the minified output through a custom [post-processor](CookBook.wiki.md#Processing_Output_After_Minification.md) function.