improved out buffer function handling;

bug #1690064 headers already sent error if OBGzip = 0
This commit is contained in:
Sebastian Mendel
2007-03-29 07:10:15 +00:00
parent a190872f0a
commit 3626acdb24
7 changed files with 21 additions and 83 deletions

View File

@@ -10,12 +10,7 @@
*/
require_once('./libraries/common.inc.php');
require_once('./libraries/ob.lib.php');
if ($cfg['OBGzip']) {
$ob_mode = PMA_outBufferModeGet();
if ($ob_mode) {
PMA_outBufferPre($ob_mode);
}
}
PMA_outBufferPre();
// Check parameters