Commit 3067fd9b authored by Nigel McNie's avatar Nigel McNie
Browse files

Turn off gzip when showing the progress bar, so it incrementally renders.

NOTE: not signed off deliberately, I'm testing the commit hook.
parent 3ef0cb00
...@@ -37,6 +37,9 @@ if ($exportfile = $SESSION->get('exportfile')) { ...@@ -37,6 +37,9 @@ if ($exportfile = $SESSION->get('exportfile')) {
exit; exit;
} }
// Turn off gzip if it's on, because it prevents output from being flushed
apache_setenv('no-gzip', 1);
if (!$exportdata = $SESSION->get('exportdata')) { if (!$exportdata = $SESSION->get('exportdata')) {
redirect('/export/'); redirect('/export/');
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment