diff --git a/ci4/app/Controllers/Home.php b/ci4/app/Controllers/Home.php index 16980da4..74acb616 100755 --- a/ci4/app/Controllers/Home.php +++ b/ci4/app/Controllers/Home.php @@ -20,19 +20,8 @@ class Home extends BaseController { $session = session(); - $id_user = $session->get('id_user'); - $name = $session->get('first_name'); - $hora = date('H'); - //Salutation - if( $hora >= 6 && $hora <= 12 ) - $salutation = lang("App.dashboard_good_morning"); - else if ( $hora > 12 && $hora <=18 ) - $salutation = lang("App.dashboard_good_afternoon"); - else - $salutation = lang("App.dashboard_good_night"); - - echo view(getenv('theme.path').'main/all'); + echo view(getenv('theme.path').'main/defaultlayout'); /* //echo view(getenv('theme.path').'main/header');