First test build

This commit is contained in:
John Gross
2017-03-30 15:24:39 -07:00
parent 650ab05d74
commit 5c1a9a5e35
47 changed files with 1610 additions and 498 deletions

View File

@@ -33,9 +33,9 @@ namespace Torch.Server
base.OnStart(args);
string configName = args.Length > 0 ? args[0] : "TorchConfig.xml";
var options = new ServerConfig("Torch");
var options = new TorchConfig("Torch");
if (File.Exists(configName))
options = ServerConfig.LoadFrom(configName);
options = TorchConfig.LoadFrom(configName);
else
options.SaveTo(configName);