mirror of
https://github.com/vrana/adminer.git
synced 2025-08-26 07:44:37 +02:00
Move constants to namespace
This commit is contained in:
@@ -17,8 +17,8 @@ class AdminerMasterSlave {
|
||||
}
|
||||
|
||||
function credentials() {
|
||||
if ($_POST && isset($this->masters[SERVER])) {
|
||||
return array($this->masters[SERVER], $_GET["username"], get_session("pwds"));
|
||||
if ($_POST && isset($this->masters[Adminer\SERVER])) {
|
||||
return array($this->masters[Adminer\SERVER], $_GET["username"], get_session("pwds"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user