mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Improve gzip export ratio (bug #387)
This commit is contained in:
@@ -496,3 +496,12 @@ function doc_link($paths) {
|
||||
);
|
||||
return ($paths[$jush] ? "<a href='$urls[$jush]$paths[$jush]' target='_blank' rel='noreferrer'><sup>?</sup></a>" : "");
|
||||
}
|
||||
|
||||
/** Wrap gzencode() for usage in ob_start()
|
||||
* @param string
|
||||
* @return string
|
||||
*/
|
||||
function ob_gzencode($string) {
|
||||
// ob_start() callback recieves an optional parameter $phase but gzencode() accepts optional parameter $level
|
||||
return gzencode($string);
|
||||
}
|
||||
|
Reference in New Issue
Block a user