Example #1
0
 public function __construct()
 {
     parent::__construct();
     if (!class_exists('Console')) {
         $this->load->libraries('Console');
     }
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->ci->load->model('users/User_model', 'user_model', true);
     // Make sure Darth Vader doesn't exist. :)
     $this->ci->db->where('email', '*****@*****.**');
     $this->ci->db->delete('users');
 }