CodeIgniter Forums
CodeIgniter 2 and database library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: CodeIgniter 2 and database library (/showthread.php?tid=33209)



CodeIgniter 2 and database library - El Forum - 08-18-2010

[eluser]Rui Lima[/eluser]
Hello, does the CI 2 still supports the database library?
I'm having trouble doing $this->db in my models.
gives null.


CodeIgniter 2 and database library - El Forum - 08-18-2010

[eluser]Rui Lima[/eluser]
Found the solution Smile

http://codeigniter.com/wiki/File:sqlite3_pdo_driver_0_02_by_xi.zip/

Since i'm using sqlite i must create the folder pdo inside /system/drivers/
and copy inside the PDO driver.

Couldn't this be included in GITbucket?