From 6026f15e7525e4c5753e76a622c0a95756168ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Thu, 20 Sep 2001 08:03:16 +0000 Subject: [PATCH] * added the $cfgShowStats setting * resorted the core phpMyAdmin settings in a more logical way --- Documentation.html | 52 ++++++++++++++++++++++++++-------------------- config.inc.php3 | 27 +++++++++++++++--------- 2 files changed, 47 insertions(+), 32 deletions(-) diff --git a/Documentation.html b/Documentation.html index 580123135..1bd5dc6a6 100755 --- a/Documentation.html +++ b/Documentation.html @@ -420,10 +420,11 @@

-
$cfgConfirm boolean
+ +
$cfgOBGzip boolean
- Whether a warning ("Are your really sure..") should be - displayed when you're about to loose data. + Defines whether to use gzip output buffering for increased + speed in HTTP transfers.

@@ -434,21 +435,17 @@

-
$cfgShowBlob boolean
+
$cfgSkipLockedTables boolean
- Defines whether BLOB fields are shown when browsing a table's - content or not. + Mark used tables and make it possible to show databases with locked + tables (since 3.23.30).

-
$cfgProtectBlob boolean
+
$cfgShowSQL boolean
- Defines whether BLOB or BINARY fields are protected - from edition when browsing a table's content or not. - Valid values are:
- - FALSE to allow edition of all fields; - - blob to allow edition of all fields except BLOBS; - - all to disallow edition of all BINARY or BLOB fields. + Defines whether sql-queries generated by phpMyAdmin should be displayed + or not.

@@ -461,17 +458,24 @@

-
$cfgShowSQL boolean
+
$cfgConfirm boolean
- Defines whether sql-queries generated by phpMyAdmin should be displayed - or not. + Whether a warning ("Are your really sure..") should be + displayed when you're about to loose data.

-
$cfgSkipLockedTables boolean
+
$cfgShowStats boolean
- Mark used tables and make it possible to show databases with locked - tables (since 3.23.30). + Defines whether to display space usage and statistics about databases + and tables or not. +

+
+ +
$cfgShowBlob boolean
+
+ Defines whether BLOB fields are shown when browsing a table's + content or not.

@@ -498,10 +502,14 @@

-
$cfgOBGzip boolean
+
$cfgProtectBinary boolean
- Defines whether to use gzip output buffering for increased - speed in HTTP transfers. + Defines whether BLOB or BINARY fields are protected + from edition when browsing a table's content or not. + Valid values are:
+ - FALSE to allow edition of all fields;
+ - blob to allow edition of all fields except BLOBS;
+ - all to disallow edition of all BINARY or BLOB fields.

diff --git a/config.inc.php3 b/config.inc.php3 index f5e6aec6e..16b670e6f 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -94,18 +94,19 @@ unset($cfgServers[0]); /** * Other core phpMyAdmin settings */ -$cfgConfirm = TRUE; // confirm 'DROP TABLE' & 'DROP DATABASE' +$cfgOBGzip = TRUE; // use GZIP output buffering if possible $cfgPersistentConnections = FALSE; // use persistent connections to MySQL database -$cfgShowBlob = FALSE; // display blob field contents in browse mode -$cfgProtectBinary = 'blob'; // disallow editing of binary fields in edit mode - // valid values are: - // FALSE allow editing - // 'blob' allow editing except for BLOB fields - // 'all' disallow editing -$cfgAllowUserDropDatabase = FALSE; // disallow users to delete their own database -$cfgShowSQL = TRUE; // show SQL queries as run $cfgSkipLockedTables = FALSE; // mark used tables, make possible to show // locked tables (since MySQL 3.23.30) +$cfgShowSQL = TRUE; // show SQL queries as run +$cfgAllowUserDropDatabase = FALSE; // disallow users to delete their own database +$cfgConfirm = TRUE; // confirm 'DROP TABLE' & 'DROP DATABASE' + +$cfgShowStats = TRUE; // allow to display statistics and space usage in + // the pages about database details and table + // properties + +$cfgShowBlob = FALSE; // display blob field contents in browse mode $cfgShowAll = FALSE; // allows to display all the rows in browse mode $cfgMaxRows = 30; // maximum number of rows to display in browse mode $cfgOrder = 'ASC'; // default for 'ORDER BY' clause (valid @@ -113,7 +114,13 @@ $cfgOrder = 'ASC'; // default for 'ORDER BY' clause (valid // descending order for fields of type // TIME, DATE, DATETIME & TIMESTAMP, // ascending order else-) -$cfgOBGzip = TRUE; // GZIP output buffering + +$cfgProtectBinary = 'blob'; // disallow editing of binary fields in edit mode + // valid values are: + // FALSE allow editing + // 'blob' allow editing except for BLOB fields + // 'all' disallow editing + $cfgGZipDump = TRUE; // Allow the use of gzip/bzip compression $cfgBZipDump = TRUE; // for dump files