Hi,
One of my addons is dependent on a remote database. I would like the Setup.php, Entries, Finder...etc for this addon to run all the queries on a specific remote database instead of the localhost (website) database.
In XF1, I would normally use $db = XenForo_Application::get('db2'); and have db2 listed in the config.php.
How would I do this with XF2?
One of my addons is dependent on a remote database. I would like the Setup.php, Entries, Finder...etc for this addon to run all the queries on a specific remote database instead of the localhost (website) database.
In XF1, I would normally use $db = XenForo_Application::get('db2'); and have db2 listed in the config.php.
How would I do this with XF2?