aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Base/HttpServerBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Base/HttpServerBase.cs')
-rw-r--r--OpenSim/Server/Base/HttpServerBase.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Server/Base/HttpServerBase.cs b/OpenSim/Server/Base/HttpServerBase.cs
index 70f6eb2..2142f87 100644
--- a/OpenSim/Server/Base/HttpServerBase.cs
+++ b/OpenSim/Server/Base/HttpServerBase.cs
@@ -28,6 +28,7 @@
28using System; 28using System;
29using System.Threading; 29using System.Threading;
30using System.Reflection; 30using System.Reflection;
31using OpenSim.Framework;
31using OpenSim.Framework.Console; 32using OpenSim.Framework.Console;
32using OpenSim.Framework.Servers.HttpServer; 33using OpenSim.Framework.Servers.HttpServer;
33using log4net; 34using log4net;
@@ -74,6 +75,9 @@ namespace OpenSim.Server.Base
74 } 75 }
75 76
76 m_HttpServer = new BaseHttpServer(port); 77 m_HttpServer = new BaseHttpServer(port);
78
79 MainServer.Instance = m_HttpServer;
80
77 if (MainConsole.Instance is RemoteConsole) 81 if (MainConsole.Instance is RemoteConsole)
78 { 82 {
79 ((RemoteConsole)MainConsole.Instance).SetServer(m_HttpServer); 83 ((RemoteConsole)MainConsole.Instance).SetServer(m_HttpServer);