1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adminer_ynh.git synced 2024-09-03 18:06:06 +02:00
adminer_ynh/sources/root_access_disabled/index.php

15 lines
260 B
PHP
Raw Normal View History

<?php
function adminer_object() {
class AdminerNoRoot extends Adminer {
function login($login, $password) {
return ($login != 'root');
}
}
return new AdminerNoRoot;
}
include "./adminer.php";