change region avatarhandlers

This commit is contained in:
UbitUmarov
2020-04-26 16:54:58 +01:00
parent e63231887b
commit e0418da6e1
7 changed files with 519 additions and 469 deletions

View File

@@ -157,13 +157,16 @@ namespace OpenSim.Server
if (parts.Length > 1)
friendlyName = parts[1];
IHttpServer server;
BaseHttpServer server;
if (port != 0)
server = MainServer.GetHttpServer(port);
server = (BaseHttpServer)MainServer.GetHttpServer(port);
else
server = MainServer.Instance;
if (friendlyName == "LLLoginServiceInConnector")
server.AddSimpleStreamHandler(new IndexPHPHandler(server));
m_log.InfoFormat("[SERVER]: Loading {0} on port {1}", friendlyName, server.Port);
IServiceConnector connector = null;