aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2017-01-07 01:16:56 +0000
committerMelanie Thielker2017-01-07 01:16:56 +0000
commit86d057852d7a51e93f7fa01a1651c8439e0ec70d (patch)
tree7e296623c1539b43935a9b31af3452cd501b989c
parentFix grid gods (diff)
downloadopensim-SC-86d057852d7a51e93f7fa01a1651c8439e0ec70d.zip
opensim-SC-86d057852d7a51e93f7fa01a1651c8439e0ec70d.tar.gz
opensim-SC-86d057852d7a51e93f7fa01a1651c8439e0ec70d.tar.bz2
opensim-SC-86d057852d7a51e93f7fa01a1651c8439e0ec70d.tar.xz
Fix custom dialogs working when bin/ is read-only
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/ViewerSupport/DynamicFloaterModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/ViewerSupport/DynamicFloaterModule.cs b/OpenSim/Region/OptionalModules/ViewerSupport/DynamicFloaterModule.cs
index e76e8f2..ed44a5a 100644
--- a/OpenSim/Region/OptionalModules/ViewerSupport/DynamicFloaterModule.cs
+++ b/OpenSim/Region/OptionalModules/ViewerSupport/DynamicFloaterModule.cs
@@ -134,7 +134,7 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport
134 } 134 }
135 else 135 else
136 { 136 {
137 using (FileStream fs = File.Open(dialogData.XmlName + ".xml", FileMode.Open)) 137 using (FileStream fs = File.Open(dialogData.XmlName + ".xml", FileMode.Open, FileAccess.Read))
138 { 138 {
139 using (StreamReader sr = new StreamReader(fs)) 139 using (StreamReader sr = new StreamReader(fs))
140 xml = sr.ReadToEnd().Replace("\n", ""); 140 xml = sr.ReadToEnd().Replace("\n", "");