aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
index 587cb70..2859953 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
@@ -71,6 +71,7 @@ namespace OpenSim.Region.ClientStack.Linden
71 private OSDMap m_features = new OSDMap(); 71 private OSDMap m_features = new OSDMap();
72 72
73 private string m_SearchURL = string.Empty; 73 private string m_SearchURL = string.Empty;
74 private string m_DestinationGuideURL = string.Empty;
74 private bool m_ExportSupported = false; 75 private bool m_ExportSupported = false;
75 76
76 #region ISharedRegionModule Members 77 #region ISharedRegionModule Members
@@ -88,6 +89,7 @@ namespace OpenSim.Region.ClientStack.Linden
88 if (config != null && m_AllowOverride == true) 89 if (config != null && m_AllowOverride == true)
89 { 90 {
90 m_SearchURL = config.GetString("SearchServerURI", string.Empty); 91 m_SearchURL = config.GetString("SearchServerURI", string.Empty);
92 m_DestinationGuideURL = config.GetString ("DestinationGuideURI", string.Empty);
91 93
92 m_ExportSupported = config.GetBoolean("ExportSupported", m_ExportSupported); 94 m_ExportSupported = config.GetBoolean("ExportSupported", m_ExportSupported);
93 } 95 }
@@ -161,6 +163,8 @@ namespace OpenSim.Region.ClientStack.Linden
161 163
162 if (m_SearchURL != string.Empty && m_AllowOverride == true) 164 if (m_SearchURL != string.Empty && m_AllowOverride == true)
163 extrasMap["search-server-url"] = m_SearchURL; 165 extrasMap["search-server-url"] = m_SearchURL;
166 if (!string.IsNullOrEmpty(m_DestinationGuideURL) && m_AllowOverride == true)
167 extrasMap["destination-guide-url"] = m_DestinationGuideURL;
164 if (m_ExportSupported && m_AllowOverride == true) 168 if (m_ExportSupported && m_AllowOverride == true)
165 extrasMap["ExportSupported"] = true; 169 extrasMap["ExportSupported"] = true;
166 170