mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Add Bzip2 export plugin
This commit is contained in:
@@ -35,8 +35,8 @@ class AdminerDumpZip {
|
||||
}
|
||||
|
||||
function dumpHeaders($identifier, $multi_table = false) {
|
||||
$this->filename = "$identifier." . ($multi_table && ereg("[ct]sv", $_POST["format"]) ? "tar" : $_POST["format"]);
|
||||
if ($_POST["output"] == "zip") {
|
||||
$this->filename = "$identifier." . ($multi_table && ereg("[ct]sv", $_POST["format"]) ? "tar" : $_POST["format"]);
|
||||
header("Content-Type: application/zip");
|
||||
ob_start(array($this, '_zip'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user