/** * 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()); }
/** * Constructor * @return void */ public function __construct() { $this->app = Deep::getInstance(); $this->app->bootEE(ee()); ee()->load->library(array('pagination', 'typography')); }