aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-04-11 14:22:59 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-04-11 14:22:59 +0000
commit5c2b9b17d1cde217f89fa74ef9922395af1a4e3b (patch)
treed2e706c3941412207639b6202167a9898e924753 /phpBB/includes/functions.php
parentdbae1db24c9bc264945d841b76642c5d14a35a63 (diff)
downloadforums-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.php5
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;
}