Update index.php

This commit is contained in:
marian1010 2021-04-15 18:46:36 +02:00
parent 0d276ac0c1
commit c3b783663b

View File

@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<?php
session_start();
include_once('../assets/php/config.php');
require_once('../panel_admin/panelAdmin.php');
$login=false;
if(isset($_SESSION["login"]) && $_SESSION["rol"] == "admin") $login = true;
if(isset($_GET['state'])) {