[BUGFIX] config.compressCss = 1 does not work
authorXavier Perseguers <xavier@typo3.org>
Tue, 4 Oct 2011 08:51:02 +0000 (10:51 +0200)
committerGeorg Ringer <mail@ringerge.org>
Tue, 4 Oct 2011 09:10:34 +0000 (11:10 +0200)
TypoScript configuration option 'compressCss' is never tested and thus
does not work. Only the deprecated configuration option 'minifyCSS' is
taken into account.

Change-Id: Ic9d15bd1da84c92602a7e88283161c5b109d2939
Fixes: #30537
Releases: 4.6
Reviewed-on: http://review.typo3.org/5522
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/cms/tslib/class.tslib_pagegen.php

index 6710ed5..3a3fae7 100644 (file)
@@ -998,7 +998,7 @@ See <a href="http://wiki.typo3.org/index.php/TYPO3_3.8.1" target="_blank">wiki.t
                                $GLOBALS['TSFE']->config['config']['compressCss'] = $GLOBALS['TSFE']->config['config']['minifyCSS'];
                        }
                }
-               if ($GLOBALS['TSFE']->config['config']['minifyCSS']) {
+               if ($GLOBALS['TSFE']->config['config']['compressCss']) {
                        $pageRenderer->enableCompressCss();
                }
                if (isset($GLOBALS['TSFE']->config['config']['minifyJS'])) {