Example #1
0
 /**
  * Set Eloquent to use CodeIgniter's DB connection
  *
  * Set Deep to use upload prefs from config.php,
  * rather than from DB, if applicable.
  *
  * @return void
  */
 protected static function boot()
 {
     Deep::bootEE(\ee());
 }
Example #2
0
 /**
  * Constructor
  * @return void
  */
 public function __construct()
 {
     $this->app = Deep::getInstance();
     $this->app->bootEE(ee());
     ee()->load->library(array('pagination', 'typography'));
 }