SW/root/assets/php/common/reRol.php

11 lines
215 B
PHP
Raw Normal View History

2021-07-02 17:59:22 +02:00
<?php
include('../config.php');
function reRol(){
if(isset($_SESSION["lastRol"])){
$_SESSION["rol"] = $_SESSION["lastRol"];
unset($_SESSION["lastRol"]);
}
}
reRol();
header("Location: /");
?>