Actions
Bug #21487
closedt3lib_div::flushOutputBuffers can't work
Start date:
2009-11-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
#21236 added one two functions: cleanOutputBuffers() and flushOutputBuffers()
The latter one can't work, as it's not possible to send the header after content has been sent out.
So use ob_get_clean() to get the buffer's contents, send the header and then print it out.
(issue imported from #M12498)
Files
Updated by Steffen Gebert about 15 years ago
You can test this with setting $TYPO3_CONF_VARS['BE']['compressionLevel'] = 5;
Use e.g. EXT:phpunit (from SVN): No contents will be shown.
Apply the two patches and output will be shown.
Updated by Francois Suter almost 15 years ago
Committed v3 to trunk in revision 6574
Actions