if zlib output compression is set in the php configuration file, no output buffering should be run

This commit is contained in:
Loïc Chapeaux
2001-09-04 20:34:19 +00:00
parent e28f462bb0
commit 6b19ea08a8

View File

@@ -98,6 +98,12 @@ if (!defined('__LIB_INC__')){
if ($cfgPmaAbsoluteUri != '' && substr($cfgPmaAbsoluteUri, -1) != '/') {
$cfgPmaAbsoluteUri .= '/';
}
// If zlib output compression is set in the php configuration file, no
// output buffering should be run
if (@function_exists('ini_get') && @ini_get('zlib.output_compression')) {
$cfgOBGzip = FALSE;
}
// Gets some constants
include('./defines.inc.php3');