function connectToDB() {
wfDebug("AuthJoomla::connectToDB()\n");
if ($GLOBALS['wgAuthJoomla_UseExtDatabase']) {
// Joomla tables are in a separate DB from MW tables, create
// a separate DB connection
wfDebug("AuthJoomla::connectToDB() : new database\n");
$this->my_dbr = new DatabaseMysql(array('host' => $GLOBALS['wgAuthJoomla_MySQL_Host'],
'user' => $GLOBALS['wgAuthJoomla_MySQL_Username'],
'password' => $GLOBALS['wgAuthJoomla_MySQL_Password'],
'dbname' => $GLOBALS['wgAuthJoomla_MySQL_Database'],
'tablePrefix' => $this->db_prefix,
"flags" => 0,
"schema" => '',
"foreign" => ''
global $IP;
require_once("$IP/skins/Vector/VectorTemplate.php");
...
class MediaWikiBootstrapTemplate extends VectorTemplate {