mirror of
https://github.com/vrana/adminer.git
synced 2026-08-04 23:51:53 +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