merged #r8490

git-svn-id: file:///svn/phpbb/trunk@8504 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2008-04-11 14:22:59 +00:00
parent dbae1db24c
commit 5c2b9b17d1

View file

@ -2869,7 +2869,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
{ {
if (@extension_loaded('zlib') && !headers_sent()) if (@extension_loaded('zlib') && !headers_sent())
{ {
ob_flush(); @ob_flush();
} }
} }
@ -3498,6 +3498,9 @@ function exit_handler()
} }
} }
// As a pre-caution... some setups display a blank page if the flush() is not there.
@flush();
exit; exit;
} }