Connection to an Additional Database
I am working on some modules that will require a connection to a different database. Is there a particular way to do this in Hubzilla? I know that Hubzilla has its own database functions.
What I planned on doing was creating a connection.php
file (containing the database connection strings) in the custom
folder and then include that in any widget, module, or addon that uses that database.
Or is there another recommended way of doing it in Hubzilla?