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');
     }
 }
Beispiel #2
0
 function __construct()
 {
     parent::__construct();
 }