Update template.php

This commit is contained in:
marian1010 2021-03-25 09:46:28 +01:00
parent c46efc73da
commit 981e4fdbd3
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@
$session = $this->session;
$session_route =$this->session_route;
$user_route = $this->user_route;
$panel =$this->panel;
if(isset($_SESSION["nombre"])){
if($_SESSION["rol"] == "admin") $user_route = 'panel_admin/';
else if($_SESSION["rol"] == "manager") $user_route = 'panel_manager/';