[eluser]anthrt[/eluser]
I have 2 database groups set in database.php, one is to power the website and the other is a phpBB3 forum in a seperate database.
I have the two different configurations set in database.php. In one of the models where I need to retrieve stuff from the 2nd (non default) forum DB, I tried it with
Code:
$this->load->database('forum');
But it is trying to query the default database.
I'm pretty sure it's because the database is being autoloaded. Obviously I don't want to have to manually load the database class in every controller and every method throughout the site.
Am I wrong in this assumption? If not, is there any way to overcome this problem?
Regards