Skip to content
Snippets Groups Projects
Commit a1d929a8 authored by Rens Admiraal's avatar Rens Admiraal Committed by Steffen Gebert
Browse files

[BUGFIX] Fix path resolution in t3lib_compressor::compressCssFile()

This change makes compressCssFile() also use this helper, as it was forgotten in the
first place.

Change-Id: Id394f9a67e6222f7663e719ddce602d5ada2d10c
Resolves: #M18035
Reviewed-on: http://review.typo3.org/1176
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
parent 59900b66
No related merge requests found
......@@ -225,7 +225,7 @@ class t3lib_Compressor {
*/
public function compressCssFile($filename) {
// generate the unique name of the file
$filenameAbsolute = t3lib_div::resolveBackPath(PATH_typo3 . substr($filename, strlen($GLOBALS['BACK_PATH'])));
$filenameAbsolute = t3lib_div::resolveBackPath(PATH_typo3 . $this->getFilenameFromMainDir($filename));
$unique = $filenameAbsolute . filemtime($filenameAbsolute) . filesize($filenameAbsolute);
$pathinfo = pathinfo($filename);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment