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