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

[eluser]NotoriousWebmaster[/eluser]
Thx for the quick reply InsiteFX. In fact, I did dump the $this->config object from the controller to see if it contained what I was looking for. It didn't.

But reviewing the docs for the config class I'm thinking I could save the db array in the config/database.php file, to the config class. Then access it from the controller.

This'll work for now. Please let me know if there's a better way to do this.

Thx again,
- 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