mirror of
https://github.com/vrana/adminer.git
synced 2026-05-06 15:16:52 +02:00
Allow specifying server name displayed in breadcrumbs
This commit is contained in:
@@ -19,6 +19,10 @@ class AdminerLoginServers {
|
||||
$this->driver = $driver;
|
||||
}
|
||||
|
||||
function serverName($server) {
|
||||
return h($this->servers[$server]);
|
||||
}
|
||||
|
||||
function login($login, $password) {
|
||||
// check if server is allowed
|
||||
foreach ($this->servers as $key => $val) {
|
||||
|
||||
Reference in New Issue
Block a user