Welcome Guest, Not a member yet? Register   Sign In
Accessing the Database Configuration Array
#1

[eluser]NotoriousWebmaster[/eluser]
I'm writing a utility app which allows the admin to perform tasks on different instances of the database by selecting the DB in the form (radio buttons). Based on this selection, the controller needs to load the model with the given DB's config array.

This DB config array is already defined in the database.php config file. Is there some way to access this array from the controller?

Thanks for your help,
- AAA


Messages In This Thread
Accessing the Database Configuration Array - by El Forum - 06-07-2011, 08:35 AM
Accessing the Database Configuration Array - by El Forum - 06-07-2011, 08:49 AM
Accessing the Database Configuration Array - by El Forum - 06-07-2011, 09:01 AM
Accessing the Database Configuration Array - by El Forum - 06-07-2011, 09:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB