1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-10 17:45:18 +02:00

suppress ob_flush() output and flush() at the end (within my tests this solved blank pages on some setups and do not affect gzip compression).

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8491 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2008-04-04 11:41:58 +00:00
parent 261b310b0d
commit ab8177a033

View File

@ -2945,7 +2945,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();
} }
} }
@ -3662,6 +3662,9 @@ function exit_handler()
} }
} }
// As a pre-caution... some setups display a blank page if the flush() is not there.
@flush();
exit; exit;
} }