Rename to Admin
This commit is contained in:
parent
6fe97135a1
commit
8f77bce210
@ -73,7 +73,7 @@ if (!empty($_POST['function'])||!empty($_GET['function'])) {
|
||||
###
|
||||
|
||||
define('LYCHEE_ACCESS_ADMIN', true);
|
||||
require(__DIR__ . '/access/admin2.php');
|
||||
require(__DIR__ . '/access/Admin.php');
|
||||
|
||||
$admin = new Admin($database, $plugins, $settings);
|
||||
$admin->check($_POST['function']);
|
||||
|
Loading…
Reference in New Issue
Block a user