mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
we slowly get to it
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8523 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -2941,6 +2941,12 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
|||||||
if (strpos($errfile, 'cache') === false && strpos($errfile, 'template.') === false)
|
if (strpos($errfile, 'cache') === false && strpos($errfile, 'template.') === false)
|
||||||
{
|
{
|
||||||
// flush the content, else we get a white page if output buffering is on
|
// 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 ($config['gzip_compress'])
|
||||||
{
|
{
|
||||||
if (@extension_loaded('zlib') && !headers_sent())
|
if (@extension_loaded('zlib') && !headers_sent())
|
||||||
|
Reference in New Issue
Block a user