Skip to content

Instantly share code, notes, and snippets.

@andyhawthorne
Created October 17, 2012 13:32
Show Gist options
  • Select an option

  • Save andyhawthorne/3905543 to your computer and use it in GitHub Desktop.

Select an option

Save andyhawthorne/3905543 to your computer and use it in GitHub Desktop.
CI Drivers
<?php
class Testing extends CI_Driver_Library
{
protected $valid_drivers = array();
private $ci;
public function __construct()
{
//get the super object
$this->ci =& get_instance();
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment