From: Jakub Vrana Date: Wed, 1 May 2013 16:44:07 +0000 (-0700) Subject: Send export headers sooner X-Git-Tag: v3.7.0~20 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=0e6003e83344a83955925f803d44596542ef898c;p=adminer.git Send export headers sooner --- diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index a44a3daa..09a46016 100644 --- a/adminer/include/functions.inc.php +++ b/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; }