[BUGFIX] Namespaces: compressionLevel results in Fatal Error
authorSteffen Gebert <steffen.gebert@typo3.org>
Thu, 30 Aug 2012 16:26:57 +0000 (18:26 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Thu, 30 Aug 2012 16:28:42 +0000 (18:28 +0200)
index_ts.php tries to instantiate a class named
TypoScriptFrontendControllercompression, which does not exist.

Change-Id: Id7b4f01e3f671ee235d6ce2389b08623273d8785
Resolves: #40432
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14221
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/sysext/cms/tslib/index_ts.php

index ea1f5eb..732f3d0 100644 (file)
@@ -92,7 +92,7 @@ if ($TYPO3_CONF_VARS['FE']['compressionLevel'] && extension_loaded('zlib')) {
                // Prevent errors if ini_set() is unavailable (safe mode)
                @ini_set('zlib.output_compression_level', $TYPO3_CONF_VARS['FE']['compressionLevel']);
        }
-       ob_start(array(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendControllercompression'), 'compressionOutputHandler'));
+       ob_start(array(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Frontend\\Utility\\CompressionUtility'), 'compressionOutputHandler'));
 }
 // FE_USER
 $TT->push('Front End user initialized', '');