Add files via upload

This commit is contained in:
Fernando Méndez
2021-05-26 09:03:02 +02:00
committed by GitHub
parent a5c8dd4ff8
commit cf3f36c9d4
41 changed files with 5652 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?php
include('../config.php');
function reRol(){
if(isset($_SESSION["lastRol"])){
$_SESSION["rol"] = $_SESSION["lastRol"];
unset($_SESSION["lastRol"]);
}
}
reRol();
$redirect = ROUTE_APP.'panel_'.$_SESSION['rol'];
header("Location: {$redirect}");
?>