From cb87249798304acf5c9be4c18f19bff1a9be035e Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 5 Aug 2001 00:28:03 +0000 Subject: [PATCH] use new variables --- db_details.php3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/db_details.php3 b/db_details.php3 index 6872b7dd3..1f60177b9 100755 --- a/db_details.php3 +++ b/db_details.php3 @@ -443,8 +443,10 @@ if ($num_tables > 0) { = 40004) { - $is_gzip = @function_exists('gzencode'); - $is_bzip = @function_exists('bzcompress'); + $is_gzip = (isset($cfgGZipDump) && + $cfgGZipDump && @function_exists('gzencode')); + $is_bzip = (isset($cfgBZipDump) && + $cfgBZipDump && @function_exists('bzcompress')); if ($is_gzip || $is_bzip) { echo "\n" . ' ('; if ($is_gzip) {