diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/ServerMain.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 3339678..ae15e63 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs | |||
@@ -49,8 +49,6 @@ namespace OpenSim.Server | |||
49 | 49 | ||
50 | static int Main(string[] args) | 50 | static int Main(string[] args) |
51 | { | 51 | { |
52 | m_Server = new HttpServerBase("Asset", args); | ||
53 | |||
54 | IConfig serverConfig = m_Server.Config.Configs["Startup"]; | 52 | IConfig serverConfig = m_Server.Config.Configs["Startup"]; |
55 | if (serverConfig == null) | 53 | if (serverConfig == null) |
56 | { | 54 | { |
@@ -58,6 +56,10 @@ namespace OpenSim.Server | |||
58 | throw new Exception("Configuration error"); | 56 | throw new Exception("Configuration error"); |
59 | } | 57 | } |
60 | 58 | ||
59 | string prompt = serverConfig.GetString("Prompt", "Server"); | ||
60 | |||
61 | m_Server = new HttpServerBase(prompt, args); | ||
62 | |||
61 | string connList = serverConfig.GetString("ServiceConnectors", String.Empty); | 63 | string connList = serverConfig.GetString("ServiceConnectors", String.Empty); |
62 | string[] conns = connList.Split(new char[] {',', ' '}); | 64 | string[] conns = connList.Split(new char[] {',', ' '}); |
63 | 65 | ||