]> git.joonet.de Git - adminer.git/commitdiff
Compile PostgreSQL: Address warnings (fix #916)
authorJakub Vrana <jakub@vrana.cz>
Mon, 17 Mar 2025 06:43:10 +0000 (07:43 +0100)
committerJakub Vrana <jakub@vrana.cz>
Mon, 17 Mar 2025 06:43:10 +0000 (07:43 +0100)
compile.php

index 2afff41b910a3036eac62152dc3d4667366a2749..ae352432e6b601f281d0ec300e4f01851944ac9d 100755 (executable)
@@ -268,6 +268,7 @@ if ($_SERVER["argv"][1]) {
 
 include __DIR__ . "/adminer/include/pdo.inc.php";
 include __DIR__ . "/adminer/include/driver.inc.php";
+$connection = new stdClass; // used in support()
 $features = array("check", "call" => "routine", "dump", "event", "privileges", "procedure" => "routine", "processlist", "routine", "scheme", "sequence", "status", "trigger", "type", "user" => "privileges", "variables", "view");
 $lang_ids = array(); // global variable simplifies usage in a callback function
 $file = file_get_contents(__DIR__ . "/$project/index.php");