Beispiel #1
0
 function __construct()
 {
     parent::__construct();
     $ci =& get_instance();
     $ci->load->add_package_path(ARCHMODPATH . 'oauth');
     $ci->load->library('oauth_resource_server');
 }
Beispiel #2
0
 function __construct()
 {
     parent::__construct();
     $ci =& get_instance();
     if (empty($this->central_db)) {
         $this->_db = $ci->db;
     } else {
         $this->_db = db_conn($this->central_db);
     }
 }