Changeset 16279


Ignore:
Timestamp:
Jul 2, 2012, 3:09:09 PM (8 years ago)
Author:
mistic100
Message:

Merged revision(s) 16278 from trunk:
bug 2674: cssmin 3.0.1 requires PHP 5.2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/include/template.class.php

    r13871 r16279  
    13651365  {
    13661366    $css = self::process_css_rec($file);
    1367     require_once(PHPWG_ROOT_PATH.'include/cssmin.class.php');
    1368     $css = CssMin::minify($css, array('Variables'=>false));
     1367    if (version_compare(PHP_VERSION, '5.2.4', '>='))
     1368    {
     1369      require_once(PHPWG_ROOT_PATH.'include/cssmin.class.php');
     1370      $css = CssMin::minify($css, array('Variables'=>false));
     1371    }
    13691372    $css = trigger_event('combined_css_postfilter', $css);
    13701373    return $css;
Note: See TracChangeset for help on using the changeset viewer.