1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 11:34:10 +02:00

PHP 4 compatibility (bug #2948187)

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1303 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2010-02-09 09:16:15 +00:00
parent 3313f7baa1
commit 622531f81d

View File

@@ -148,8 +148,8 @@ if (!ini_get("file_uploads")) {
<p><?php
$compress = array();
foreach (array("gz" => "zlib", "bz2" => "bzip2") as $key => $val) {
if (in_array("compress.$val", stream_get_wrappers())) {
foreach (array("gz" => "zlib", "bz2" => "bz2") as $key => $val) {
if (extension_loaded($val)) {
$compress[] = ".$key";
}
}