[eluser]Unknown[/eluser]
Hi all,
in config/database.php I have to define a couple of database connections:
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "whatever";
.....
$db['special']['hostname'] = "localhost";
$db['special']['username'] = "root";
$db['special']['password'] = "";
.....
etc.
Now, is there a way of getting an array (or something else) that gives me the names of all the used identifiers? In the example above I would expect "default" and "special" as the result. Unfortunately you cannot access $db directly...
Thanx!