Use new Admin Access

This commit is contained in:
Tobias Reich 2014-04-28 11:24:00 +02:00
parent 43ff1d06f4
commit 6fe97135a1
2 changed files with 4 additions and 1 deletions

View File

@ -73,7 +73,10 @@ if (!empty($_POST['function'])||!empty($_GET['function'])) {
### ###
define('LYCHEE_ACCESS_ADMIN', true); define('LYCHEE_ACCESS_ADMIN', true);
require(__DIR__ . '/access/admin.php'); require(__DIR__ . '/access/admin2.php');
$admin = new Admin($database, $plugins, $settings);
$admin->check($_POST['function']);
} else { } else {