HG: more adjustments for making HG Simian work. Added server_uri as new key on get_agent_home in UAS.

This commit is contained in:
Diva Canto
2011-12-29 12:17:58 -08:00
parent f36fe45fa7
commit 70e36ee2b4
3 changed files with 7 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ namespace OpenSim.Services.Connectors
else
{
serverURI = serverURI + "xxx";
m_ServerURI = serverURI.Replace("?" + uri.Query, "");
m_ServerURI = serverURI.Replace(uri.Query, "");
m_ServerURI = m_ServerURI.TrimEnd('/') + "/helo/";
}
}

View File

@@ -334,6 +334,9 @@ namespace OpenSim.Services.Connectors.Hypergrid
UInt32.TryParse((string)hash["http_port"], out p);
region.HttpPort = p;
}
if (hash.ContainsKey("server_uri") && hash["server_uri"] != null)
region.ServerURI = (string)hash["server_uri"];
if (hash["internal_port"] != null)
{
int p = 0;