mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10191] Use ob_get_level in exit_handler for output buffering check.
This commit is contained in:
commit
93a8c54bcb
1 changed files with 1 additions and 1 deletions
|
@ -4631,7 +4631,7 @@ function exit_handler()
|
|||
}
|
||||
|
||||
// As a pre-caution... some setups display a blank page if the flush() is not there.
|
||||
(empty($config['gzip_compress'])) ? @flush() : @ob_flush();
|
||||
(ob_get_level() > 0) ? @ob_flush() : @flush();
|
||||
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue