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

@@ -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) {