aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-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;
}