public SQLite()
{
// Default constructor for the derived class
//check to see if the sqlite folder exists, if not create it
//check the Arma2 root directory first
if (System.IO.Directory.Exists("sqlite"))
{
sqliteDatabaseLocation = Path.GetFullPath("sqlite/");
}
else
{
sqliteDatabaseLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Arma2NETMySQL/sqlite/");
if (!System.IO.Directory.Exists(sqliteDatabaseLocation))
{
System.IO.Directory.CreateDirectory(sqliteDatabaseLocation);
}
}
}