示例#1
0
 public function __construct($options)
 {
     parent::__construct($options);
     if (function_exists('get_instance')) {
         $this->_ci =& get_instance();
     }
 }
示例#2
0
文件: mywechat.php 项目: kym0913/aci
 function __construct($options)
 {
     parent::__construct($options);
     if (function_exists("get_instance") && defined("APPPATH")) {
         $this->_ci =& get_instance();
         //$this->_ci->load->model('product_model', 'product');
         //$this->_ci->load->model('post_model', 'post');
     }
 }