Project

General

Profile

Bug #24084 ยป 16424.diff

Administrator Admin, 2010-11-16 20:21

View differences:

t3lib/class.t3lib_compressor.php (Arbeitskopie)
public function compressCssFiles(array $cssFiles) {
$filesAfterCompression = array();
foreach ($cssFiles as $filename => $fileOptions) {
// we remove BACK_PATH from $filename, so make it relative to TYPO3_mainDir
$filenameFromMainDir = substr($filename, strlen($GLOBALS['BACK_PATH']));
// if compression is enabled
if ($fileOptions['compress']) {
$filesAfterCompression[$this->compressCssFile($filename)] = $fileOptions;
    (1-1/1)