1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

Almost finished moving Webfront to a plugin.

This commit is contained in:
RaidMax
2015-08-21 20:11:35 -05:00
parent f4016f6691
commit 7af9c31ea0
26 changed files with 252 additions and 939 deletions

View File

@ -12,7 +12,6 @@ namespace IW4MAdmin
{
static public double Version { get; private set; }
static private Manager serverManager;
static private IW4MAdmin_Web.WebFront frontEnd;
static void Main(string[] args)
{
@ -43,13 +42,8 @@ namespace IW4MAdmin
}
if (serverManager.getServers() != null)
Program.getManager().mainLog.Write("IW4M Now Initialized! Visit http://127.0.0.1:1624 for server overview.", Log.Level.Production);
Program.getManager().mainLog.Write("IW4M Now Initialized!", Log.Level.Production);
if (serverManager.getServers().Count > 0)
{
frontEnd = new IW4MAdmin_Web.WebFront();
frontEnd.Init();
}
serverMGRThread.Join();
serverManager.mainLog.Write("Shutting down IW4MAdmin...", Log.Level.Debug);
@ -76,8 +70,6 @@ namespace IW4MAdmin
}
Program.getManager().shutDown();
frontEnd.webSchedule.Stop();
frontEnd.webSchedule.Dispose();
return false;
}