mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Changes to prepare for future possible configuration of separate logdir, configdir, datadir.
This commit is contained in:
@@ -31,6 +31,7 @@ using System.Xml;
|
||||
|
||||
using OpenSim.Framework.Interfaces;
|
||||
using OpenSim.Framework.Configuration.Interfaces;
|
||||
using OpenSim.Framework.Utilities;
|
||||
|
||||
namespace OpenSim.Framework.Configuration
|
||||
{
|
||||
@@ -119,6 +120,11 @@ namespace OpenSim.Framework.Configuration
|
||||
|
||||
public void Commit()
|
||||
{
|
||||
if (!Directory.Exists(Util.configDir()))
|
||||
{
|
||||
Directory.CreateDirectory(Util.configDir());
|
||||
}
|
||||
|
||||
doc.Save(fileName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user