diff options
author | Melanie Thielker | 2014-04-26 02:43:13 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-04-26 02:43:13 +0200 |
commit | 1d1e444aed5f9eb3a77092f01f1f4d4ed3e18d11 (patch) | |
tree | 6e91439904251bcf7a1075757b6feb94b9872cab /OpenSim/Framework/RegionLoader | |
parent | Allow opening a https port using only http so that nginx can be used for ssl (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs | 4 |
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) |