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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user