Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('form');
     if ($this->session->userdata('rol') != "administrador") {
         $this->load->view('header');
         $this->load->view('error_sesion');
         $this->load->view('footer');
     }
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
 }