Fix custom dialogs working when bin/ is read-only

melanie
Melanie Thielker 2017-01-07 01:16:56 +00:00
parent 8ec258bef4
commit 86d057852d
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport
}
else
{
using (FileStream fs = File.Open(dialogData.XmlName + ".xml", FileMode.Open))
using (FileStream fs = File.Open(dialogData.XmlName + ".xml", FileMode.Open, FileAccess.Read))
{
using (StreamReader sr = new StreamReader(fs))
xml = sr.ReadToEnd().Replace("\n", "");