[TYPO3-dev]  $TYPO3_CONF_VARS['FE']['debug'] destroys output
    Martin Kutschker 
    masi-no at spam-typo3.org
       
    Fri Dec 18 15:38:37 CET 2009
    
    
  
Hi!
Well, not really, but it makes a good subject. Yet there is a problem. In index_ts.php you'll find
these lines:
if ($TSFE->isOutputting() && ($TSFE->TYPO3_CONF_VARS['FE']['debug'] ||
$TSFE->config['config']['debug']))	{
	echo '
<!-- Parsetime: '.$TSFE->scriptParseTime.' ms-->';
}
This setting breaks any non HTML/XML output.
I suggest to remove the check for $TSFE->TYPO3_CONF_VARS['FE']['debug']. With a check for
$TSFE->config['config']['debug'] alone the admin can add/remove the parse time comment ona per page
type basis.
I don't regard this as a copatibility issue as an admin can easily turn on the parse time output via TS.
Any comments?
Masi
    
    
More information about the TYPO3-dev
mailing list