From 23ed01c8d950a87245ee06b56a1eb1595102daa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= <45081533+FerMdez@users.noreply.github.com> Date: Tue, 18 May 2021 09:59:53 +0200 Subject: [PATCH] Update and rename reRol.php to resetRol.php --- assets/php/common/{reRol.php => resetRol.php} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename assets/php/common/{reRol.php => resetRol.php} (69%) diff --git a/assets/php/common/reRol.php b/assets/php/common/resetRol.php similarity index 69% rename from assets/php/common/reRol.php rename to assets/php/common/resetRol.php index dde453f..296d6f1 100644 --- a/assets/php/common/reRol.php +++ b/assets/php/common/resetRol.php @@ -7,5 +7,6 @@ function reRol(){ } } reRol(); -header("Location: /"); -?> \ No newline at end of file +$redirect = ROUTE_APP.'panel_'.$_SESSION['rol']; +header("Location: {$redirect}"); +?>