1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 07:06:45 +02:00

Compress CSS

This commit is contained in:
Jakub Vrana
2012-09-06 22:20:44 -07:00
parent 415f500f10
commit caa9f490af
4 changed files with 40 additions and 40 deletions

View File

@@ -254,7 +254,7 @@ function php_shrink($input) {
}
function minify_css($file) {
return preg_replace('~\\s*([:;{},])\\s*~', '\\1', preg_replace('~/\\*.*\\*/~sU', '', $file));
return add_quo_slashes(lzw_compress(preg_replace('~\\s*([:;{},])\\s*~', '\\1', preg_replace('~/\\*.*\\*/~sU', '', $file))));
}
function compile_file($match) {