diff --git a/php/access/admin2.php b/php/access/Admin.php similarity index 100% rename from php/access/admin2.php rename to php/access/Admin.php diff --git a/php/api.php b/php/api.php index 2056d45..80e5352 100755 --- a/php/api.php +++ b/php/api.php @@ -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']);