[TYPO3-core] RFC #- buffer output for debug function

Ingo Renner ingo at typo3.org
Sun Nov 25 13:49:59 CET 2007


Steffen Kamper wrote:
> Hi,
> 
> Type: cleanup
> 
> Branches:
> Trunk
> 
> Problem
> one not very nice with t3lib_div::debug is that output is printed direct 
> with echo. This causes error "header already sent..."
> 
> Solution
> simply start debug-function with ob_start();

I don't know whether we really need that, as it is a _debug_ function 
(not to be used in production environments) I don't care for a header 
warning if it's caused by that. +-0 or -0.5 from me.


Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list