Adds DBTools.cs (Create and Insert Table)

This commit is contained in:
Twitchy 2011-07-27 18:22:12 +12:00
parent 894e796f73
commit bc2bfd5485
4 changed files with 209 additions and 8 deletions

View file

@ -155,6 +155,7 @@ namespace TShockAPI
throw new Exception("Invalid storage type");
}
DBTools.database = DB;
Backups = new BackupManager(Path.Combine(SavePath, "backups"));
Backups.KeepFor = Config.BackupKeepFor;
Backups.Interval = Config.BackupInterval;