Changeset 16278


Ignore:
Timestamp:
07/02/12 15:08:07 (7 years ago)
Author:
mistic100
Message:

bug 2674: cssmin 3.0.1 requires PHP 5.2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r13871 r16278  
    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.