aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs
diff options
context:
space:
mode:
authorMelanie Thielker2014-04-26 02:43:13 +0200
committerMelanie Thielker2014-04-26 02:43:13 +0200
commit1d1e444aed5f9eb3a77092f01f1f4d4ed3e18d11 (patch)
tree6e91439904251bcf7a1075757b6feb94b9872cab /OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs
parentAllow opening a https port using only http so that nginx can be used for ssl (diff)
downloadopensim-SC-1d1e444aed5f9eb3a77092f01f1f4d4ed3e18d11.zip
opensim-SC-1d1e444aed5f9eb3a77092f01f1f4d4ed3e18d11.tar.gz
opensim-SC-1d1e444aed5f9eb3a77092f01f1f4d4ed3e18d11.tar.bz2
opensim-SC-1d1e444aed5f9eb3a77092f01f1f4d4ed3e18d11.tar.xz
Convert region loading to new format
Diffstat (limited to 'OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs')
-rw-r--r--OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs b/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs
index c7caf6f..65de563 100644
--- a/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs
+++ b/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs
@@ -93,8 +93,8 @@ namespace OpenSim.Framework.RegionLoader.Web
93 xmlSource.Length); 93 xmlSource.Length);
94 XmlDocument xmlDoc = new XmlDocument(); 94 XmlDocument xmlDoc = new XmlDocument();
95 xmlDoc.LoadXml(xmlSource); 95 xmlDoc.LoadXml(xmlSource);
96 if (xmlDoc.FirstChild.Name == "Regions") 96 if (xmlDoc.FirstChild.Name == "Nini")
97 { 97 {
98 regionCount = xmlDoc.FirstChild.ChildNodes.Count; 98 regionCount = xmlDoc.FirstChild.ChildNodes.Count;
99 99
100 if (regionCount > 0) 100 if (regionCount > 0)