Ejemplo n.º 1
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('Video_model', NULL, TRUE);
     $this->load->model('Series_model', NULL, TRUE);
     $this->Video_model = Video_model::getInstance();
     $this->Series_model = Series_model::getInstance();
     $this->_config = $this->config->config;
 }
Ejemplo n.º 2
0
 function __construct()
 {
     parent::__construct(TRUE);
     $this->load->model('Video_model', NULL, TRUE);
     $this->load->model('Series_model', NULL, TRUE);
     $this->Video_model = Video_model::getInstance();
     $this->Series_model = Series_model::getInstance();
     $this->_config = $this->config->config;
     set_userdata('active_menu', strtolower(get_class($this)));
 }