]> git.joonet.de Git - adminer.git/commitdiff
Send export headers sooner
authorJakub Vrana <jakub@vrana.cz>
Wed, 1 May 2013 16:44:07 +0000 (09:44 -0700)
committerJakub Vrana <jakub@vrana.cz>
Wed, 1 May 2013 16:44:07 +0000 (09:44 -0700)
adminer/include/functions.inc.php

index a44a3daaf845f66f897195992ab28ae81909fe51..09a4601676b35d8c75264063e2644f9279ca34b4 100644 (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;
 }