Fix custom dialogs working when bin/ is read-only
parent
8ec258bef4
commit
86d057852d
|
@ -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", "");
|
||||
|
|
Loading…
Reference in New Issue