aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-04-21 13:05:49 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-04-21 13:05:49 +0000
commit18e7a58f155446c2efd072dd0934565a33a81e66 (patch)
tree8e6eead4ba9b2dbd66419c2dc7cd2d20c9720a54 /phpBB
parent66de7f903a6f400884d8e9cc103066213cb3caf7 (diff)
downloadforums-18e7a58f155446c2efd072dd0934565a33a81e66.tar
forums-18e7a58f155446c2efd072dd0934565a33a81e66.tar.gz
forums-18e7a58f155446c2efd072dd0934565a33a81e66.tar.bz2
forums-18e7a58f155446c2efd072dd0934565a33a81e66.tar.xz
forums-18e7a58f155446c2efd072dd0934565a33a81e66.zip
did i ever mention that i hate php's handling of buffers (or i simply do not understand them)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8519 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index b6237020f1..67ef220c8d 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3652,7 +3652,7 @@ function garbage_collection()
*/
function exit_handler()
{
- global $phpbb_hook;
+ global $phpbb_hook, $config;
if (!empty($phpbb_hook) && $phpbb_hook->call_hook(__FUNCTION__))
{
@@ -3663,7 +3663,7 @@ function exit_handler()
}
// As a pre-caution... some setups display a blank page if the flush() is not there.
- @flush();
+ (!$config['gzip_compress']) ? @flush() : @ob_flush();
exit;
}