From 981e4fdbd38ebd980759baefb7cc121d0d97281a Mon Sep 17 00:00:00 2001 From: marian1010 <79144276+marian1010@users.noreply.github.com> Date: Thu, 25 Mar 2021 09:46:28 +0100 Subject: [PATCH] Update template.php --- assets/php/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/php/template.php b/assets/php/template.php index d34e133..126499b 100644 --- a/assets/php/template.php +++ b/assets/php/template.php @@ -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/';