Add files via upload
This commit is contained in:
11
assets/php/common/reRol.php
Normal file
11
assets/php/common/reRol.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?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