small bug fix
parent
2d5f5e2b32
commit
f2f173a00e
|
@ -654,7 +654,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
XmlDocument doc = new XmlDocument();
|
XmlDocument doc = new XmlDocument();
|
||||||
XmlNode rootNode;
|
XmlNode rootNode;
|
||||||
int primCount = 0;
|
int primCount = 0;
|
||||||
if (File.Exists(fileName))
|
if ((fileName.StartsWith("http:")) | (File.Exists(fileName)))
|
||||||
{
|
{
|
||||||
XmlTextReader reader = new XmlTextReader(fileName);
|
XmlTextReader reader = new XmlTextReader(fileName);
|
||||||
reader.WhitespaceHandling = WhitespaceHandling.None;
|
reader.WhitespaceHandling = WhitespaceHandling.None;
|
||||||
|
|
Loading…
Reference in New Issue