Code cosmetics : removed trailing tabs

This commit is contained in:
Lionel Laffineur
2023-05-21 15:03:36 +02:00
parent f21795b27d
commit e3c1f24ad6
21 changed files with 78 additions and 81 deletions

View File

@@ -2,7 +2,7 @@
function adminer_object() {
include_once "../plugins/plugin.php";
include_once "../plugins/login-password-less.php";
class AdminerCustomization extends AdminerPlugin {
function loginFormField($name, $heading, $value) {
return parent::loginFormField($name, $heading, str_replace('value="server"', 'value="sqlite"', $value));
@@ -11,7 +11,7 @@ function adminer_object() {
return "PATH_TO_YOUR_SQLITE_HERE";
}
}
return new AdminerCustomization(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)),