aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs5
-rw-r--r--OpenSim/Services/GridService/GridService.cs13
2 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
index d4bdef6..07e8025 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
@@ -83,7 +83,10 @@ namespace OpenSim.Region.ClientStack.Linden
83 83
84 if (config != null) 84 if (config != null)
85 { 85 {
86 // These are normaly set in their respective modules 86 //
87 // All this is obsolete since getting these features from the grid service!!
88 // Will be removed after the next release
89 //
87 m_SearchURL = config.GetString("SearchServerURI", m_SearchURL); 90 m_SearchURL = config.GetString("SearchServerURI", m_SearchURL);
88 91
89 m_DestinationGuideURL = config.GetString ("DestinationGuideURI", m_DestinationGuideURL); 92 m_DestinationGuideURL = config.GetString ("DestinationGuideURI", m_DestinationGuideURL);
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 29723d8..3b1a07e 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -170,6 +170,19 @@ namespace OpenSim.Services.GridService
170 if (!string.IsNullOrEmpty(configVal)) 170 if (!string.IsNullOrEmpty(configVal))
171 m_ExtraFeatures["destination-guide-url"] = configVal; 171 m_ExtraFeatures["destination-guide-url"] = configVal;
172 172
173 configVal = Util.GetConfigVarFromSections<string>(
174 config, "GatekeeperURI", new string[] { "Startup", "Hypergrid" }, String.Empty);
175 if (!string.IsNullOrEmpty(configVal))
176 m_ExtraFeatures["GridURL"] = configVal;
177
178 configVal = Util.GetConfigVarFromSections<string>(
179 config, "GridName", new string[] { "Const", "Hypergrid" }, String.Empty);
180 if (string.IsNullOrEmpty(configVal))
181 configVal = Util.GetConfigVarFromSections<string>(
182 config, "gridname", new string[] { "GridInfo" }, String.Empty);
183 if (!string.IsNullOrEmpty(configVal))
184 m_ExtraFeatures["GridName"] = configVal;
185
173 m_ExtraFeatures["ExportSupported"] = gridConfig.GetString("ExportSupported", "true"); 186 m_ExtraFeatures["ExportSupported"] = gridConfig.GetString("ExportSupported", "true");
174 } 187 }
175 188