connectLocalDB()
function connectLocalDB()
Name in Zenario 8
ze\db::connectLocal()
Connects to the local database if you are not already connected, so you may query any local tables.
From Zenario 7.0.0 onwards.
When you change database using a function such as connectGlobalDB() or connectHubDB() the database functions will then run queries against that database.
You must call this function to change back before querying any local table or calling any of the CMS functions.
No return value.
As of version 7.0.2 we are now using MySQLi. You can now access the local database using the cms_core::$localDB variable and access the last database that was connected to using the cms_core::$lastDB variable. The database functions will always run queries using the cms_core::$lastDB variable.