Update and rename reRol.php to resetRol.php

This commit is contained in:
Fernando Méndez 2021-05-18 09:59:53 +02:00 committed by GitHub
parent 1b39920abd
commit 23ed01c8d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,5 +7,6 @@ function reRol(){
} }
} }
reRol(); reRol();
header("Location: /"); $redirect = ROUTE_APP.'panel_'.$_SESSION['rol'];
header("Location: {$redirect}");
?> ?>