diff options
small bug fix
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 9e19a26..befda0e 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -654,7 +654,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
654 | XmlDocument doc = new XmlDocument(); | 654 | XmlDocument doc = new XmlDocument(); |
655 | XmlNode rootNode; | 655 | XmlNode rootNode; |
656 | int primCount = 0; | 656 | int primCount = 0; |
657 | if (File.Exists(fileName)) | 657 | if ((fileName.StartsWith("http:")) | (File.Exists(fileName))) |
658 | { | 658 | { |
659 | XmlTextReader reader = new XmlTextReader(fileName); | 659 | XmlTextReader reader = new XmlTextReader(fileName); |
660 | reader.WhitespaceHandling = WhitespaceHandling.None; | 660 | reader.WhitespaceHandling = WhitespaceHandling.None; |