diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-05-22 07:16:40 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-05-22 07:16:40 -0400 |
commit | 44cc8153cdfedda1d0733655bc13e5e9beac3431 (patch) | |
tree | 7fe39236b1abd42119d87d6bf7d5a6a379c342a4 /phpBB/includes/db/postgres.php | |
parent | 5e81b058cf703e28fff6686cc6f8d9770b740a37 (diff) | |
download | forums-44cc8153cdfedda1d0733655bc13e5e9beac3431.tar forums-44cc8153cdfedda1d0733655bc13e5e9beac3431.tar.gz forums-44cc8153cdfedda1d0733655bc13e5e9beac3431.tar.bz2 forums-44cc8153cdfedda1d0733655bc13e5e9beac3431.tar.xz forums-44cc8153cdfedda1d0733655bc13e5e9beac3431.zip |
[ticket/10191] Use ob_get_level in exit_handler for output buffering check.
Calling flush() when output buffering is enabled causes output to be
duplicated. Besides phpBB enabling output buffering for gzip compression,
output buffering may be enabled externally to phpBB via output_handler
or output_buffering directives in php.ini.
Use ob_get_level to determine whether output buffering is active and
call ob_flush in that case.
PHPBB3-10191
Diffstat (limited to 'phpBB/includes/db/postgres.php')
0 files changed, 0 insertions, 0 deletions