Update template.php
This commit is contained in:
parent
981e4fdbd3
commit
6638722c8b
@ -79,6 +79,7 @@
|
||||
$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/';
|
||||
|
Loading…
Reference in New Issue
Block a user