aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2011-06-12 22:10:16 -0700
committerDiva Canto2011-06-12 22:10:16 -0700
commit95e050130c42c21ca4f26b31abce1c4a83194525 (patch)
tree36cbcd47a46aeb93b9f74b556bfa06e0aad37e1c
parentbit depth: 24!!! begeez! -- zoom levels work now. (diff)
downloadopensim-SC_OLD-95e050130c42c21ca4f26b31abce1c4a83194525.zip
opensim-SC_OLD-95e050130c42c21ca4f26b31abce1c4a83194525.tar.gz
opensim-SC_OLD-95e050130c42c21ca4f26b31abce1c4a83194525.tar.bz2
opensim-SC_OLD-95e050130c42c21ca4f26b31abce1c4a83194525.tar.xz
People are bound to forget the '/' at the end of MapTileURL, so let's correct that from the inside.
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index 5d1779a..2b15896 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -112,6 +112,14 @@ namespace OpenSim.Services.LLLoginService
112 m_AllowedClients = m_LoginServerConfig.GetString("AllowedClients", string.Empty); 112 m_AllowedClients = m_LoginServerConfig.GetString("AllowedClients", string.Empty);
113 m_DeniedClients = m_LoginServerConfig.GetString("DeniedClients", string.Empty); 113 m_DeniedClients = m_LoginServerConfig.GetString("DeniedClients", string.Empty);
114 114
115 // Clean up some of these vars
116 if (m_MapTileURL != String.Empty)
117 {
118 m_MapTileURL = m_MapTileURL.Trim();
119 if (!m_MapTileURL.EndsWith("/"))
120 m_MapTileURL = m_MapTileURL + "/";
121 }
122
115 // These are required; the others aren't 123 // These are required; the others aren't
116 if (accountService == string.Empty || authService == string.Empty) 124 if (accountService == string.Empty || authService == string.Empty)
117 throw new Exception("LoginService is missing service specifications"); 125 throw new Exception("LoginService is missing service specifications");