This commit is contained in:
marian1010
2021-04-13 20:21:27 +02:00
parent 04305d2c79
commit 997209ecf3
5 changed files with 13 additions and 11 deletions

View File

@ -6,6 +6,8 @@
require_once('../panel_admin/panelAdmin.php');
$template = new Template();
if(isset($_SESSION["login"]) && $_SESSION["rol"] == "admin") $login = true;
if(isset($_REQUEST['state'])) {
$panel = new Panel($_REQUEST['state']);
}