mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
fa22522236
commit
89474a8e3a
1 changed files with 6 additions and 0 deletions
|
@ -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())
|
||||||
|
|
Loading…
Add table
Reference in a new issue