Send export headers sooner

This commit is contained in:
Jakub Vrana 2013-05-01 09:44:07 -07:00
parent 601cdd43c1
commit 0e6003e833

View file

@ -873,6 +873,8 @@ function dump_headers($identifier, $multi_table = false) {
header("Content-Disposition: attachment; filename=" . $adminer->dumpFilename($identifier) . ".$return" . ($output != "file" && !ereg('[^0-9a-z]', $output) ? ".$output" : ""));
}
session_write_close();
ob_flush();
flush();
return $return;
}