Project

General

Profile

Bug #17846 ยป 20071119_debug_buffering.diff

Administrator Admin, 2007-11-25 11:16

View differences:

t3lib/class.t3lib_div.php (working copy)
* @return void
*/
function debug($var='',$brOrHeader=0) {
ob_start();
if ($brOrHeader && !t3lib_div::testInt($brOrHeader)) {
echo '<table class="typo3-debug" border="0" cellpadding="0" cellspacing="0" bgcolor="white" style="border:0px; margin-top:3px; margin-bottom:3px;"><tr><td style="background-color:#bbbbbb; font-family: verdana,arial; font-weight: bold; font-size: 10px;">'.htmlspecialchars((string)$brOrHeader).'</td></tr><tr><td>';
} elseif ($brOrHeader<0) {
    (1-1/1)