When using SQLite to login, It will show the following message like:
Implement login() method to use SQLite.
Create index.php
with following content:
<?php
function adminer_object() {
class AdminerSoftware extends Adminer {
function login($login, $password) {
global $jush;
if ($jush == "sqlite") {
return ($login === '[USERNAME]') && ($password === '[PASSWORD]');
}
return true;
}
function databases($flush = true) {
if (isset($_GET['sqlite']) === true) {
return ["/path/to/your/a.db", "/path/to/your/b.db"];
}
return get_databases($flush);
}
}
return new AdminerSoftware;
}
include "./adminer.php";