That didn't quite work. Trying this instead -- prompt given in the cmd line.

This commit is contained in:
diva
2009-06-08 17:50:17 +00:00
parent 71c8346f78
commit b43fc318fb
2 changed files with 10 additions and 6 deletions

View File

@@ -49,6 +49,8 @@ namespace OpenSim.Server
static int Main(string[] args)
{
m_Server = new HttpServerBase("Server", args);
IConfig serverConfig = m_Server.Config.Configs["Startup"];
if (serverConfig == null)
{
@@ -56,10 +58,6 @@ namespace OpenSim.Server
throw new Exception("Configuration error");
}
string prompt = serverConfig.GetString("Prompt", "Server");
m_Server = new HttpServerBase(prompt, args);
string connList = serverConfig.GetString("ServiceConnectors", String.Empty);
string[] conns = connList.Split(new char[] {',', ' '});