diff options
Diffstat (limited to 'OpenSim/Server/Base/HttpServerBase.cs')
-rw-r--r-- | OpenSim/Server/Base/HttpServerBase.cs | 4 |
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 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Threading; | 29 | using System.Threading; |
30 | using System.Reflection; | 30 | using System.Reflection; |
31 | using OpenSim.Framework; | ||
31 | using OpenSim.Framework.Console; | 32 | using OpenSim.Framework.Console; |
32 | using OpenSim.Framework.Servers.HttpServer; | 33 | using OpenSim.Framework.Servers.HttpServer; |
33 | using log4net; | 34 | using 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); |