mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 08:05:25 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10188] Use ob_get_level in msg_handler for output buffering check.
This commit is contained in:
commit
fe3f3bc839
@ -3681,7 +3681,7 @@ 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 ((int) @ini_get('output_buffering') === 1 || strtolower(@ini_get('output_buffering')) === 'on')
|
||||
if (ob_get_level() > 0)
|
||||
{
|
||||
@ob_flush();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user