diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 5fdf40af..5047f6fe 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -140,7 +140,15 @@ if (!ini_get("file_uploads")) { -
adminer.sql'); ?> +
"zlib", "bz2" => "bzip2") as $key => $val) {
+ if (in_array("compress.$val", stream_get_wrappers())) {
+ $compress[] = ".$key";
+ }
+}
+echo lang('Webserver file %s', "adminer.sql" . ($compress ? "[" . implode("|", $compress) . "]" : "") . "
");
+?>