[TYPO3-core] RFC #17701: Generated t3x are corrupted in 4.5.1-dev and trunk
Xavier Perseguers
typo3 at perseguers.ch
Tue Feb 22 10:59:10 CET 2011
Hi,
Alexander Stehlik wrote:
>> i think it doesn't harm to clear the buffer for creating the file. As we
>> see, linebreaks are in the buffer, and this can happen also with user
>> config files. So +1 for doing the clean.
>
> What about using t3lib_div::cleanOutputBuffers() for this?
Was not sure about the additional header it sets but as it works as
expected, I agree to use this method instead. Will do that upon commit.
Xavier
More information about the TYPO3-team-core
mailing list