On the fly database setup - 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: On the fly database setup (/showthread.php?tid=13383) Pages:
1
2
|
On the fly database setup - El Forum - 01-13-2009 [eluser]mscahill[/eluser] @mkhairul "Open /bamboo_system_files/application/config/database.php and enter your database information." is not really the solution I'm looking for. @trs21219 >:-( On the fly database setup - El Forum - 01-13-2009 [eluser]Tom Schlick[/eluser] haha im sorry i have replied to too many posts (not on here) with the question of why wont it connect and when you ask where there config file is they say in the db... haha On the fly database setup - El Forum - 01-13-2009 [eluser]mscahill[/eluser] I can certainly trap this if I hack the core, but I was hoping to avoid that. Isn't there a way to "modify the core" with custom functions or something like that? On the fly database setup - El Forum - 01-13-2009 [eluser]Tom Schlick[/eluser] you could always have a connect.php in the config that is blank and write the db values to that and include it on database.php... On the fly database setup - El Forum - 01-13-2009 [eluser]mscahill[/eluser] They need to be user provided before the system loads for the first time. I wonder if I could abstain from even loading the database library until the configuration is filled out... On the fly database setup - El Forum - 01-13-2009 [eluser]Tom Schlick[/eluser] i think you can do that with hooks. check to see if the values are filled out right before loading the db |