CodeIgniter Forums
Using DB Class without CI - 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: Using DB Class without CI (/showthread.php?tid=6748)



Using DB Class without CI - El Forum - 03-10-2008

[eluser]mikeyhell[/eluser]
I've recently taken over a large, and messy, coding project. We will be switching the entire site over to CI in about a 6 month timeframe. However, I need to make some quick additions/changes to address some current problems. Has anyone had any problems using the DB class w/out a full CI install and is this even possible?


Using DB Class without CI - El Forum - 03-10-2008

[eluser]Pygon[/eluser]
Is it possibly? Probably -- it would just take you quite a bit of work to change all the little calls to CI's debug, error handling and other functions that wouldn't exist.


Using DB Class without CI - El Forum - 03-10-2008

[eluser]mikeyhell[/eluser]
So not realistic, I was just looking through the db files and I see this now. I'm just trying to find a way that the changes I will be making will be compatible with the future site structure instead of using this ridiculous setup the previous programmer has made.


Using DB Class without CI - El Forum - 03-10-2008

[eluser]Pygon[/eluser]
Yeah -- unfortunately it won't really "ease" your transition either way.