1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00

Improve gzip export ratio (bug #387)

This commit is contained in:
Jakub Vrana
2014-02-23 18:02:43 -08:00
parent 990b3b8ccc
commit 7639ff8b95
3 changed files with 11 additions and 1 deletions

View File

@@ -740,7 +740,7 @@ username.form['auth[driver]'].onchange();
($ext == "sql" || $output != "file" ? "text/plain" : "text/csv") . "; charset=utf-8"
)));
if ($output == "gz") {
ob_start('gzencode', 1e6);
ob_start('ob_gzencode', 1e6);
}
return $ext;
}