Project

General

Profile

Bug #21236 ยป 12189.diff

Administrator Admin, 2009-10-21 14:40

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
}
return '\''.$value.'\'';
}
/**
* Ends and cleans all output buffers
*
* @return void
*/
public static function cleanOutputBuffers() {
while (ob_get_level()) {
ob_end_clean();
}
header('Content-Encoding: None', TRUE);
}
/**
* Ends and flushes all output buffers
*
* @return void
*/
public static function flushOutputBuffers() {
while (ob_get_level()) {
ob_end_flush();
}
header('Content-Encoding: None', TRUE);
}
}
?>
typo3/cli_dispatch.phpsh (Arbeitskopie)
// Make sure output is not buffered,
// so that command-line output and interaction can take place
ob_end_flush();
t3lib_div::flushOutputBuffers();
if (defined('TYPO3_cliInclude')) {
include(TYPO3_cliInclude);
typo3/mod/tools/em/class.em_index.php (Arbeitskopie)
'\'" />';
// as this page loads dynamically, quit output buffering caused by ob_gzhandler
$this->quitOutputBuffering();
t3lib_div::cleanOutputBuffers();
if(t3lib_div::_GET('l10n') == 'check') {
$loadedExtensions = array_keys($TYPO3_LOADED_EXT);
......
return $content . '</table><br />';
}
/**
* Quit output buffering started by ob_gzhandler
*
* @return void
*/
private function quitOutputBuffering() {
while (ob_get_level()) {
ob_end_clean();
}
header('Content-Encoding: None', TRUE);
}
}
    (1-1/1)