mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
Unlock session in dump
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1053 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -153,6 +153,7 @@ function dump_headers($identifier, $multi_table = false) {
|
||||
if ($_POST["output"] == "file" || $compress) {
|
||||
header("Content-Disposition: attachment; filename=$filename.$ext" . (ereg('[0-9a-z]', $compress) ? ".$compress" : ""));
|
||||
}
|
||||
session_write_close();
|
||||
return $ext;
|
||||
}
|
||||
|
||||
|
@@ -18,6 +18,7 @@ function dump_headers($identifier) {
|
||||
$ext = "csv";
|
||||
header("Content-Type: text/csv; charset=utf-8");
|
||||
header("Content-Disposition: attachment; filename=$filename.$ext");
|
||||
session_write_close();
|
||||
return $ext;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user