php - How can I replace things in minify and css files -



php - How can I replace things in minify and css files -

i'm using minify

and have css file "style.css"

body{ background: url(image.png); }

and when making mini in /path/to/min/dir/f=style.css because of want create url of backgound total this

body{ background: url({$url}/image.png); }

and in mimify class create assign or replace smarty

to mimi this

body{background: url(/path/to/image.png);}

you can't minify , have dynamic values in (it supposed caching).

if you've got dynamic url's, inline css or add together css header in html/php file, not in css file

php

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -