Update index.php
Disable the auto login if the default setting-> adminer -> auto_login is not set.
This commit is contained in:
parent
11efb35712
commit
1003e70dd3
|
|
@ -23,8 +23,9 @@
|
|||
exit;
|
||||
}
|
||||
|
||||
//auto login
|
||||
if (isset($_SESSION['adminer']['auto_login']['boolean'])) {
|
||||
function adminer_object() {
|
||||
|
||||
class AdminerSoftware extends Adminer {
|
||||
|
||||
function name() {
|
||||
|
|
@ -61,9 +62,9 @@ function adminer_object() {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
return new AdminerSoftware;
|
||||
}
|
||||
}
|
||||
|
||||
// include original Adminer or Adminer Editor
|
||||
include "adminer.php";
|
||||
|
|
|
|||
Loading…
Reference in New Issue