2017-02-21 12:13:39 +00:00
|
|
|
<?php
|
|
|
|
function adminer_object() {
|
|
|
|
include_once "../plugins/plugin.php";
|
2018-05-04 14:52:41 +00:00
|
|
|
include_once "../plugins/login-password-less.php";
|
|
|
|
return new AdminerPlugin(array(
|
2018-05-07 10:23:13 +00:00
|
|
|
// inline the result of password_hash() so that the password is not visible in source codes
|
2018-05-04 14:52:41 +00:00
|
|
|
new AdminerLoginPasswordLess(password_hash("YOUR_PASSWORD_HERE", PASSWORD_DEFAULT)),
|
|
|
|
));
|
2017-02-21 12:13:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
include "./index.php";
|