11 lines
215 B
PHP
11 lines
215 B
PHP
<?php
|
|
include('../config.php');
|
|
function reRol(){
|
|
if(isset($_SESSION["lastRol"])){
|
|
$_SESSION["rol"] = $_SESSION["lastRol"];
|
|
unset($_SESSION["lastRol"]);
|
|
}
|
|
}
|
|
reRol();
|
|
header("Location: /");
|
|
?>
|