Making the prompt configurable in the server shell. Default is "Server".

0.6.6-post-fixes
diva 2009-06-08 17:34:42 +00:00
parent 398d321f15
commit 71c8346f78
1 changed files with 4 additions and 2 deletions

View File

@ -49,8 +49,6 @@ namespace OpenSim.Server
static int Main(string[] args)
{
m_Server = new HttpServerBase("Asset", args);
IConfig serverConfig = m_Server.Config.Configs["Startup"];
if (serverConfig == null)
{
@ -58,6 +56,10 @@ 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[] {',', ' '});