]> git.joonet.de Git - adminer.git/commitdiff
Fix compiled version after 5cc831c1
authorJakub Vrana <jakub@vrana.cz>
Tue, 23 Jan 2018 13:10:21 +0000 (14:10 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 23 Jan 2018 13:10:21 +0000 (14:10 +0100)
adminer/sql.inc.php

index 7f8e5d954bda61fdccb5ac0104d8e4a6f5d1449c..408ac5913d91ca468b5e75d4e33f8753d77b4ce8 100644 (file)
@@ -24,7 +24,7 @@ if (!$error && $_POST) {
                $sql_file_path = $adminer->importServerPath();
                $fp = @fopen((file_exists($sql_file_path)
                        ? $sql_file_path
-                       : "compress.zlib://{$sql_file_path}.gz"
+                       : "compress.zlib://$sql_file_path.gz"
                ), "rb");
                $query = ($fp ? fread($fp, 1e6) : false);
        } else {