Welcome Guest, Not a member yet? Register   Sign In
On the fly database setup
#11

[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
>:-(
#12

[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
#13

[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?
#14

[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...
#15

[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...
#16

[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




Theme © iAndrew 2016 - Forum software by © MyBB