mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Move comment
This commit is contained in:
@@ -574,7 +574,6 @@ username.form['auth[driver]'].onchange();
|
|||||||
if (function_exists('bzcompress')) {
|
if (function_exists('bzcompress')) {
|
||||||
$return['bz2'] = 'bzip2';
|
$return['bz2'] = 'bzip2';
|
||||||
}
|
}
|
||||||
// ZipArchive requires temporary file, ZIP can be created by gzcompress - see PEAR File_Archive
|
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -19,6 +19,7 @@ class AdminerDumpZip {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _zip($string, $state) {
|
function _zip($string, $state) {
|
||||||
|
// ZIP can be created without temporary file by gzcompress - see PEAR File_Archive
|
||||||
$this->data .= $string;
|
$this->data .= $string;
|
||||||
if ($state & PHP_OUTPUT_HANDLER_END) {
|
if ($state & PHP_OUTPUT_HANDLER_END) {
|
||||||
$zip = new ZipArchive;
|
$zip = new ZipArchive;
|
||||||
|
Reference in New Issue
Block a user