unified code

This commit is contained in:
Daniel Muñoz Garcia
2021-04-13 22:29:25 +02:00
committed by GitHub
parent 45d0570e62
commit ce6c3a92e2
7 changed files with 88 additions and 13 deletions

View File

@ -6,8 +6,6 @@
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']);
}