People are bound to forget the '/' at the end of MapTileURL, so let's correct that from the inside.
parent
2e77518c6d
commit
95e050130c
|
@ -112,6 +112,14 @@ namespace OpenSim.Services.LLLoginService
|
|||
m_AllowedClients = m_LoginServerConfig.GetString("AllowedClients", string.Empty);
|
||||
m_DeniedClients = m_LoginServerConfig.GetString("DeniedClients", string.Empty);
|
||||
|
||||
// Clean up some of these vars
|
||||
if (m_MapTileURL != String.Empty)
|
||||
{
|
||||
m_MapTileURL = m_MapTileURL.Trim();
|
||||
if (!m_MapTileURL.EndsWith("/"))
|
||||
m_MapTileURL = m_MapTileURL + "/";
|
||||
}
|
||||
|
||||
// These are required; the others aren't
|
||||
if (accountService == string.Empty || authService == string.Empty)
|
||||
throw new Exception("LoginService is missing service specifications");
|
||||
|
|
Loading…
Reference in New Issue