Permalink
Browse files

Send export headers sooner

  • Loading branch information...
1 parent 601cdd4 commit 0e6003e83344a83955925f803d44596542ef898c @vrana committed May 1, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 adminer/include/functions.inc.php
@@ -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;
}

0 comments on commit 0e6003e

Please sign in to comment.