Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('cookie');
     $this->nn = get_cookie('lang');
     $this->lang->load('home', $this->nn);
     $this->lang->load('form_validation', $this->nn);
 }
Example #2
0
 function __construct()
 {
     parent::Controller();
     $this->load->model('MSubscribers');
     $this->load->helper(array('form', 'url'));
     $this->load->library('form_validation');
     session_start();
     $this->output->enable_profiler(FALSE);
 }
Example #3
0
 function __construct()
 {
     parent::__construct();
 }