mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Pass credentials to connect()
This commit is contained in:
@@ -40,7 +40,7 @@ if (!$error && $_POST) {
|
||||
if (!$result) {
|
||||
echo "<p class='error'>" . error() . "\n";
|
||||
} else {
|
||||
$connection2 = connect();
|
||||
$connection2 = connect($adminer->credentials());
|
||||
if (is_object($connection2)) {
|
||||
$connection2->select_db(DB);
|
||||
}
|
||||
|
Reference in New Issue
Block a user