diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-04-11 14:22:59 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-04-11 14:22:59 +0000 |
commit | 5c2b9b17d1cde217f89fa74ef9922395af1a4e3b (patch) | |
tree | d2e706c3941412207639b6202167a9898e924753 /phpBB/includes/functions.php | |
parent | dbae1db24c9bc264945d841b76642c5d14a35a63 (diff) | |
download | forums-5c2b9b17d1cde217f89fa74ef9922395af1a4e3b.tar forums-5c2b9b17d1cde217f89fa74ef9922395af1a4e3b.tar.gz forums-5c2b9b17d1cde217f89fa74ef9922395af1a4e3b.tar.bz2 forums-5c2b9b17d1cde217f89fa74ef9922395af1a4e3b.tar.xz forums-5c2b9b17d1cde217f89fa74ef9922395af1a4e3b.zip |
merged #r8490
git-svn-id: file:///svn/phpbb/trunk@8504 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index aac2c54076..cbedd9804a 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2869,7 +2869,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline) { 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; } |