Project

General

Profile

Bug #48213 » compressJsIssue.diff

Philipp Müller, 2013-05-15 12:03

View differences:

typo3_src-6.1.0/typo3/sysext/core/Classes/Resource/ResourceCompressor.php 2013-05-15 11:35:48.000000000 +0200
foreach ($jsFiles as $key => $fileOptions) {
// if compression is enabled
if ($fileOptions['compress']) {
$fileOptions['file'] = $this->compressJsFile($fileOptions['file']);
$filename = $this->compressJsFile($fileOptions['file']);
$fileOptions['file'] = $filename;
$filesAfterCompression[$filename] = $fileOptions;
} else {
$filesAfterCompression[$key] = $fileOptions;
}
$filesAfterCompression[$key] = $fileOptions;
}
return $filesAfterCompression;
}
......
}
?>
?>
    (1-1/1)