Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->_CI_load('library', 'session', 'session');
     $this->session = $this->CI->session;
     $this->_CI_load('library', 'core/Logger', 'logger');
     $this->logger = $this->CI->logger;
     if (is_null(self::$CACHEABLE_TYPES)) {
         $this->CI->config->load('kals');
         self::$CACHEABLE_TYPES = $this->CI->config->item('CACHEABLE_TYPES');
     }
     $this->db->trans_start();
 }