Update and rename reRol.php to resetRol.php
This commit is contained in:
@ -1,11 +0,0 @@
|
||||
<?php
|
||||
include('../config.php');
|
||||
function reRol(){
|
||||
if(isset($_SESSION["lastRol"])){
|
||||
$_SESSION["rol"] = $_SESSION["lastRol"];
|
||||
unset($_SESSION["lastRol"]);
|
||||
}
|
||||
}
|
||||
reRol();
|
||||
header("Location: /");
|
||||
?>
|
Reference in New Issue
Block a user