From aba9d23ba2bcf676500481f435d9f542349aae49 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 4 Apr 2013 09:44:48 -0700 Subject: [PATCH] Move comment --- adminer/include/adminer.inc.php | 1 - plugins/dump-zip.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 7ea16c64..0795e064 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -574,7 +574,6 @@ username.form['auth[driver]'].onchange(); if (function_exists('bzcompress')) { $return['bz2'] = 'bzip2'; } - // ZipArchive requires temporary file, ZIP can be created by gzcompress - see PEAR File_Archive return $return; } diff --git a/plugins/dump-zip.php b/plugins/dump-zip.php index 946a5b2f..07f39e96 100644 --- a/plugins/dump-zip.php +++ b/plugins/dump-zip.php @@ -19,6 +19,7 @@ class AdminerDumpZip { } function _zip($string, $state) { + // ZIP can be created without temporary file by gzcompress - see PEAR File_Archive $this->data .= $string; if ($state & PHP_OUTPUT_HANDLER_END) { $zip = new ZipArchive; -- 2.39.5