added two directives to disable the use of compression for dump files
This commit is contained in:
@@ -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>.
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -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) {
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user