diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-04-21 13:36:32 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-04-21 13:36:32 +0000 |
commit | 89474a8e3abc4d453b05656faa7048ad10e3320a (patch) | |
tree | 7cdfc335a3ef2b48fe463472963cad7b25616dc4 | |
parent | fa22522236cd608286863faca5412a37e6eeab2c (diff) | |
download | forums-89474a8e3abc4d453b05656faa7048ad10e3320a.tar forums-89474a8e3abc4d453b05656faa7048ad10e3320a.tar.gz forums-89474a8e3abc4d453b05656faa7048ad10e3320a.tar.bz2 forums-89474a8e3abc4d453b05656faa7048ad10e3320a.tar.xz forums-89474a8e3abc4d453b05656faa7048ad10e3320a.zip |
we slowly get to it
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8523 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/functions.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 67ef220c8d..600506d08f 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2941,6 +2941,12 @@ function msg_handler($errno, $msg_text, $errfile, $errline) if (strpos($errfile, 'cache') === false && strpos($errfile, 'template.') === false) { // flush the content, else we get a white page if output buffering is on + if (strtolower(@ini_get('output_buffering')) !== 'off') + { + @ob_end_flush(); + } + + // Another quick fix for those having gzip compression enabled if ($config['gzip_compress']) { if (@extension_loaded('zlib') && !headers_sent()) |