small bug fix

afrisby
MW 2007-10-08 09:16:03 +00:00
parent 2d5f5e2b32
commit f2f173a00e
1 changed files with 1 additions and 1 deletions

View File

@ -654,7 +654,7 @@ namespace OpenSim.Region.Environment.Scenes
XmlDocument doc = new XmlDocument();
XmlNode rootNode;
int primCount = 0;
if (File.Exists(fileName))
if ((fileName.StartsWith("http:")) | (File.Exists(fileName)))
{
XmlTextReader reader = new XmlTextReader(fileName);
reader.WhitespaceHandling = WhitespaceHandling.None;