11 lines
376 B
PHP
11 lines
376 B
PHP
<?php
|
|
function adminer_object() {
|
|
include_once "../plugins/plugin.php";
|
|
include_once "../plugins/login-password-less.php";
|
|
return new AdminerPlugin(array(
|
|
// TODO: inline the result of password_hash() so that the password is not visible in source codes
|
|
new AdminerLoginPasswordLess(password_hash("YOUR_PASSWORD_HERE", PASSWORD_DEFAULT)),
|
|
));
|
|
}
|
|
|
|
include "./index.php";
|