public function __construct() { parent::__construct(); $this->is_logged_in(CONTEXT); $this->load->model('product_model'); $this->load->library('pagination'); $this->load->helper('url'); }
public function __construct() { parent::__construct(); $this->is_logged_in(CONTEXT); $this->load->helper('url'); $this->load->model('order_model'); $this->load->helper('url'); }
public function __construct() { // TODO: Auto-generated method stub parent::__construct('base.tpl'); $this->load->library('form_validation'); $this->load->helper('url'); $this->load->library('pagination'); $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'gif|jpg|png'; $config['encrypt_name'] = TRUE; $this->load->library('upload', $config); }