Added tests to ensure $cfgOBGzip and $ob_mode not only exists but are also true

This commit is contained in:
Loïc Chapeaux
2001-08-03 14:00:00 +00:00
parent 37b5d1f76d
commit 5fb3f14321

View File

@@ -12,7 +12,8 @@
/**
* Sends bufferized data
*/
if (isset($cfgOBGzip) && isset($ob_mode)) {
if (isset($cfgOBGzip) && $cfgOBGzip
&& isset($ob_mode) && $ob_mode) {
out_buffer_post($ob_mode);
}
?>