1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 08:06:59 +02:00

Use adminer() instead of $adminer

This commit is contained in:
Jakub Vrana
2025-03-29 20:56:19 +01:00
parent 87f149ce1d
commit 845445baad
29 changed files with 184 additions and 218 deletions

View File

@@ -39,7 +39,7 @@ if ($_GET["script"] == "db") {
$connection->query("KILL " . number($_POST["kill"]));
} else { // connect
foreach (count_tables($adminer->databases()) as $db => $val) {
foreach (count_tables(adminer()->databases()) as $db => $val) {
json_row("tables-$db", $val);
json_row("size-$db", db_size($db));
}