mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Provide size of all databases in the overview
This commit is contained in:
@@ -37,7 +37,8 @@ if ($_GET["script"] == "db") {
|
||||
|
||||
} else { // connect
|
||||
foreach (count_tables($adminer->databases()) as $db => $val) {
|
||||
json_row("tables-" . js_escape($db), $val);
|
||||
json_row("tables-$db", $val);
|
||||
json_row("size-$db", db_size($db));
|
||||
}
|
||||
json_row("");
|
||||
}
|
||||
|
Reference in New Issue
Block a user