added two directives to disable the use of compression for dump files

This commit is contained in:
Loïc Chapeaux
2001-08-04 13:02:10 +00:00
parent 22f9bd08cb
commit 22596a4ec0
5 changed files with 19 additions and 4 deletions

View File

@@ -6,6 +6,9 @@ $Id$
$Source$
2001-08-04 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* config.inc.php3, db_details.php3, Documentation.html,
tbl_properties.php3: added two directives to disable the use of
compression for dump files.
* Documentation.html: fixed some typos thanks to Larry Meaney.
* lang/chinese_big5.inc.php3: updated thanks to
Taiyen Hung <20>x<EFBFBD><78><EFBFBD><EFBFBD><yen789@pchome.com.tw>.

View File

@@ -472,6 +472,16 @@
<br /><br />
</dd>
<dt>
<b>$cfgGZipDump </b>boolean<br />
<b>$cfgBZipDump </b>boolean
</dt>
<dd>
Defines whether to allow the use of gzip/bzip compression when creating
a dump file or not.
<br /><br />
</dd>
<dt><b>$cfgManualBase</b> string</dt>
<dd>
If set to an URL which points to the MySQL documentation, appropriate

View File

@@ -88,6 +88,8 @@ $cfgSkipLockedTables = FALSE; // mark used tables, make possible to show
$cfgMaxRows = 30;
$cfgOrder = 'ASC';
$cfgOBGzip = TRUE; // GZIP output buffering
$cfgGZipDump = TRUE; // Allow the use of gzip/bzip compression
$cfgBZipDump = TRUE; // for dump files
/**

View File

@@ -443,8 +443,8 @@ if ($num_tables > 0) {
<?php
// gzip and bzip2 encode features
if (PMA_INT_VERSION >= 40004) {
$is_gzip = @function_exists('gzencode');
$is_bzip = @function_exists('bzcompress');
$is_gzip = ($cfgGZipDump && @function_exists('gzencode'));
$is_bzip = ($cfgBZipDump && @function_exists('bzcompress'));
if ($is_gzip || $is_bzip) {
echo "\n" . ' (';
if ($is_gzip) {

View File

@@ -634,8 +634,8 @@ echo "\n";
<?php
// gzip and bzip2 encode features
if (PMA_INT_VERSION >= 40004) {
$is_gzip = @function_exists('gzencode');
$is_bzip = @function_exists('bzcompress');
$is_gzip = ($cfgGZipDump && @function_exists('gzencode'));
$is_bzip = ($cfgBZipDump && @function_exists('bzcompress'));
if ($is_gzip || $is_bzip) {
echo "\n" . ' (' . "\n";
if ($is_gzip) {