From b1881d455b15fc03d6736d4b52270f8dafe1917e Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 23 Jul 2001 17:02:42 +0000 Subject: [PATCH] bug 443318 --- ChangeLog | 9 +++++++++ Documentation.html | 8 ++++++++ config.inc.php3 | 2 ++ footer.inc.php3 | 2 +- header.inc.php3 | 3 +++ 5 files changed, 23 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b1b50fa2e..9bf4d6ab2 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,15 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-07-23 Marc Delisle + * updates to italian thanks to Alessandro Astarita + * updates to catala thanks to Jordi Bruguera + * updates to spanish thanks to Gabriel Ginard + * 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 + 2001-07-23 Steve Alberty * tbl_properties.php3: correct small display bugs * sql.php3: complement list of 'show' options to diff --git a/Documentation.html b/Documentation.html index ae8bba6f8..86c05ef38 100755 --- a/Documentation.html +++ b/Documentation.html @@ -525,6 +525,14 @@

+
$cfgOBGzip boolean
+
+ Defines whether to use gzip output buffering for increased + speed in HTTP transfers. +

+
+ +
$cfgColumnTypes array
All possible types of a MySQL column. In most cases you don't need to diff --git a/config.inc.php3 b/config.inc.php3 index 96016f9b7..cea666f35 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -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", diff --git a/footer.inc.php3 b/footer.inc.php3 index f2f5e2aee..7cfed0be0 100755 --- a/footer.inc.php3 +++ b/footer.inc.php3 @@ -4,6 +4,6 @@ diff --git a/header.inc.php3 b/header.inc.php3 index 8726c2b97..0a16fcbfb 100755 --- a/header.inc.php3 +++ b/header.inc.php3 @@ -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