Welcome Guest, Not a member yet? Register   Sign In
How to get database config?
#1

[eluser]PorkOne[/eluser]
Hi
How to get database configuration parameters in controller?
#2

[eluser]gtech[/eluser]
if you take a look in the database/DB_driver.db
There is a list of variables that are available in the db object so I reckon
Code:
echo $this->db->username;
echo $this->db->password;
//etc

would work.




Theme © iAndrew 2016 - Forum software by © MyBB