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:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user