mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Move comment
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user