1
0
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:
Jakub Vrana
2025-03-06 17:34:21 +01:00
parent 5a84ff7647
commit 0541680d73
21 changed files with 31 additions and 40 deletions

View File

@@ -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"));
}
}