bug 443318

This commit is contained in:
Marc Delisle
2001-07-23 17:02:42 +00:00
parent ee2077fd3a
commit b1881d455b
5 changed files with 23 additions and 1 deletions

View File

@@ -5,6 +5,15 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-07-23 Marc Delisle <lem9@users.sourceforge.net>
* updates to italian thanks to Alessandro Astarita <aleast@libero.it>
* updates to catala thanks to Jordi Bruguera <jordi@t800.grn.es>
* updates to spanish thanks to Gabriel Ginard <gginard@naveglia.com>
* config.inc.php3, Documentation.html, footer.inc.php3,
header.inc.php3, ob_lib.inc.php3:
bug 443318 Undefined variable: ob_mode
fix thanks to Jeremy Brand <jeremy@nirvani.net>
2001-07-23 Steve Alberty <alberty@neptunlabs.de>
* tbl_properties.php3: correct small display bugs
* sql.php3: complement list of 'show' options to

View File

@@ -525,6 +525,14 @@
<br /><br />
</dd>
<dt><b>$cfgOBGzip </b>boolean</dt>
<dd>
Defines whether to use gzip output buffering for increased
speed in HTTP transfers.
<br /><br />
</dd>
<dt><b>$cfgColumnTypes </b>array</dt>
<dd>
All possible types of a MySQL column. In most cases you don't need to

View File

@@ -91,6 +91,8 @@ $cfgDefaultLang = "en"; // default language to use, if not browser-defined
// $cfgLang = "en"; // force: always use this language - must be defined in select_lang.inc.php3
require("./select_lang.inc.php3"); // load language file
// GZIP output buffering
$cfgOBGzip = true;
$cfgColumnTypes = array(
"TINYINT",

View File

@@ -4,6 +4,6 @@
</body>
</html>
<?php
if ($ob_mode)
if ($cfgOBGzip && $ob_mode)
out_buffer_post($ob_mode);
?>

View File

@@ -4,9 +4,12 @@
require('./lib.inc.php3');
require('./ob_lib.inc.php3');
if ($cfgOBGzip)
{
$ob_mode = out_buffer_mode_get();
if ($ob_mode)
out_buffer_pre($ob_mode);
}
/**
* Send http headers