[TYPO3-core] Bug #1976: PHP5 breaks frontend when $TYPO3_CONF_VARS["FE"]["compressionLevel"] = 'TRUE';

Ingmar Schlecht ingmar at typo3.org
Tue Dec 6 01:51:18 CET 2005


Hi Peter,

Peter Niederlag schrieb:
> Solution:
> Just needs a small change in code of t3lib/class.gzip_encode.php to get
> up and working again.

At first I thought it'd just be wrong to set the compressionlevel to the 
string "true" in the first place, but then I read the Install Tool 
documentation of compressionlevel:

	Range 1-9, where 1 is least compression (approx. 50%) and 9 is
	greatest compression (approx 33%). 'true' as value will set the
	compression based on the system load

So true is an allowed value and your fix seems to solve the problem.

+1


> Could submit myself if I get a go from Kasper

You don't need to wait for Kasper's go any more but just post your patch 
requests here and as soon as you have at least two "+1"s and no counter 
arguments to your patch, you can commit it - without Kasper's approval.

cheers,
Ingmar



More information about the TYPO3-team-core mailing list