aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Configuration/XML/XmlConfiguration.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
index 89f52cf..3914d2e 100644
--- a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
+++ b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
@@ -121,6 +121,9 @@ namespace OpenSim.Framework.Configuration.XML
121 121
122 public void Commit() 122 public void Commit()
123 { 123 {
124 if (fileName == null)
125 return;
126
124 if (!Directory.Exists(Util.configDir())) 127 if (!Directory.Exists(Util.configDir()))
125 { 128 {
126 Directory.CreateDirectory(Util.configDir()); 129 Directory.CreateDirectory(Util.configDir());