function LogDatabase($defFile) { $this->_defFile = new LogDefFile($defFile); $this->_mainTableName = $this->_defFile->getVar("TABLE_NAME"); $hostIP = $this->_defFile->getVar("SERVER_LOG"); $user = $this->_defFile->getVar("MYSQL_USER"); $password = $this->_defFile->getVar("MYSQL_PASSWORD"); $dbname = $this->_defFile->getVar("DB_NAME"); $adminEmail = $this->_defFile->getVar("ADMIN_EMAIL"); MySQLDatabase::MySQLDatabase($hostIP, $user, $password, $dbname, $adminEmail, true); }