mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
Elastic: Remove plugin for version 5
This commit is contained in:
@@ -2,14 +2,8 @@
|
||||
// To create Adminer just for Elasticsearch, run `../compile.php elastic`.
|
||||
|
||||
function adminer_object() {
|
||||
include_once "../plugins/plugin.php";
|
||||
include_once "../plugins/login-password-less.php";
|
||||
include_once "../plugins/drivers/elastic.php";
|
||||
include_once "../plugins/drivers/elastic5.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)),
|
||||
));
|
||||
return new Adminer\Adminer;
|
||||
}
|
||||
|
||||
include "./index.php";
|
||||
|
Reference in New Issue
Block a user