mirror of
https://github.com/vrana/adminer.git
synced 2025-12-28 19:31:04 +01:00
Db: Unify connection error handling
This commit is contained in:
@@ -10,6 +10,10 @@ if (isset($_GET["simpledb"])) {
|
||||
class Db extends SqlDb {
|
||||
public string $extension = "SimpleXML", $server_info = '2009-04-15', $timeout, $next;
|
||||
|
||||
function attach(?string $server, string $username, string $password): string {
|
||||
return '';
|
||||
}
|
||||
|
||||
function select_db(string $database): bool {
|
||||
return ($database == "domain");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user