mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
added MySQL support
fixed login bug IW3 official support
This commit is contained in:
@ -36,13 +36,13 @@ namespace IW4MAdmin.Application
|
||||
|
||||
try
|
||||
{
|
||||
using (var db = new DatabaseContext())
|
||||
new ContextSeed(db).Seed().Wait();
|
||||
|
||||
CheckDirectories();
|
||||
|
||||
ServerManager = ApplicationManager.GetInstance();
|
||||
|
||||
using (var db = new DatabaseContext(ServerManager.GetApplicationSettings().Configuration().ConnectionString))
|
||||
new ContextSeed(db).Seed().Wait();
|
||||
|
||||
var api = API.Master.Endpoint.Get();
|
||||
var version = new API.Master.VersionInfo()
|
||||
{
|
||||
|
Reference in New Issue
Block a user