diff options
author | Melanie Thielker | 2017-01-07 01:16:56 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-07 01:16:56 +0000 |
commit | 86d057852d7a51e93f7fa01a1651c8439e0ec70d (patch) | |
tree | 7e296623c1539b43935a9b31af3452cd501b989c /OpenSim/Region/OptionalModules/ViewerSupport | |
parent | Fix grid gods (diff) | |
download | opensim-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 'OpenSim/Region/OptionalModules/ViewerSupport')
-rw-r--r-- | OpenSim/Region/OptionalModules/ViewerSupport/DynamicFloaterModule.cs | 2 |
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", ""); |