aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Configuration/XML
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-03 02:27:22 +0000
committerMelanie Thielker2008-10-03 02:27:22 +0000
commit6bd5c6bfc093c8eb366c570eddb910f808bf0216 (patch)
tree80d5b744fc189bc78f626e79d59adb9c24e2ff4e /OpenSim/Framework/Configuration/XML
parentPrevent an exception when the directory given for XML save is read only (diff)
downloadopensim-SC_OLD-6bd5c6bfc093c8eb366c570eddb910f808bf0216.zip
opensim-SC_OLD-6bd5c6bfc093c8eb366c570eddb910f808bf0216.tar.gz
opensim-SC_OLD-6bd5c6bfc093c8eb366c570eddb910f808bf0216.tar.bz2
opensim-SC_OLD-6bd5c6bfc093c8eb366c570eddb910f808bf0216.tar.xz
Check for empty string as well, just as illegal.
Diffstat (limited to 'OpenSim/Framework/Configuration/XML')
-rw-r--r--OpenSim/Framework/Configuration/XML/XmlConfiguration.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
index 3914d2e..6605361 100644
--- a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
+++ b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
@@ -121,7 +121,7 @@ namespace OpenSim.Framework.Configuration.XML
121 121
122 public void Commit() 122 public void Commit()
123 { 123 {
124 if (fileName == null) 124 if (fileName == null || fileName == String.Empty)
125 return; 125 return;
126 126
127 if (!Directory.Exists(Util.configDir())) 127 if (!Directory.Exists(Util.configDir()))