mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
bug 2544 upgrade css minifier to version 3.0.1 (Embedded cssmin is imcompatible with font-face syntax)
git-svn-id: http://piwigo.org/svn/trunk@12874 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
cf8155ddd6
commit
511cbb1c98
2 changed files with 25 additions and 858 deletions
File diff suppressed because one or more lines are too long
|
@ -1299,7 +1299,7 @@ final class FileCombiner
|
|||
{
|
||||
$css = self::process_css_rec($file);
|
||||
require_once(PHPWG_ROOT_PATH.'include/cssmin.class.php');
|
||||
$css = CssMin::minify($css, array('emulate-css3-variables'=>false));
|
||||
$css = CssMin::minify($css, array('Variables'=>false));
|
||||
$css = trigger_event('combined_css_postfilter', $css);
|
||||
return $css;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue