Is there any way that a database.php file can be seen in the config folder (third_party/xxxxx/config) that plugins and modules can use? I didn’t see any documentation on this and could only find documentation on adding config.php. I tried it and got an error that the database group could not be found.
Thanks in advance!
Moved to Plugins by Moderator
Sue, thanks for the reply.
I am creating my own plugin (add-on) in EE 2.0. I am pulling data from one of the clients databases to display in a table on a number of pages on their website which will be in EE 2.0. I noticed in the add-on package folder structure that there is a config folder but when I put a database.php file in the config folder it does not get loaded using the
$this->db->load->database('group_name')command. The error says the database group cannot be found.
Thanks.
Luther
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.