Project

General

Profile

Bug #22059 » 13427.diff

Administrator Admin, 2010-07-28 10:06

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
* @return void
*/
public static function cleanOutputBuffers() {
while (ob_get_level()) {
ob_end_clean();
}
while (ob_end_clean());
header('Content-Encoding: None', TRUE);
}
......
public static function flushOutputBuffers() {
$obContent = '';
while (ob_get_level()) {
$obContent .= ob_get_clean();
}
while ($obContent .= ob_get_clean());
// if previously a "Content-Encoding: whatever" has been set, we have to unset it
if (!headers_sent()) {
typo3/sysext/openid/class.tx_openid_return.php (Arbeitskopie)
*/
public function main() {
if ($GLOBALS['BE_USER']->user['uid']) {
while (ob_get_level()>0) {
@ob_end_clean();
}
while (@ob_end_clean());
$backendURL = t3lib_div::getIndpEnv('TYPO3_SITE_URL') . TYPO3_mainDir . 'backend.php';
t3lib_utility_Http::redirect($backendURL);
}
(2-2/2)