1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-10 16:44:17 +02:00

Extensible list of databases

This commit is contained in:
Jakub Vrana
2012-02-23 22:54:48 -08:00
parent 640afc74d7
commit c7f1a6322e
8 changed files with 25 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
<?php
function connect_error() {
global $connection, $token, $error, $drivers;
global $adminer, $connection, $token, $error, $drivers;
$databases = array();
if (DB != "") {
page_header(lang('Database') . ": " . h(DB), lang('Invalid database.'), true);
@@ -26,7 +26,7 @@ function connect_error() {
if ($_GET["refresh"]) {
set_session("dbs", null);
}
$databases = get_databases();
$databases = $adminer->databases();
if ($databases) {
$scheme = support("scheme");
$collations = collations();