aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/RegionInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.RegionServer/RegionInfo.cs')
-rw-r--r--OpenSim.RegionServer/RegionInfo.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/RegionInfo.cs b/OpenSim.RegionServer/RegionInfo.cs
index 2f8bfa1..a1923f5 100644
--- a/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim.RegionServer/RegionInfo.cs
@@ -36,6 +36,8 @@ namespace OpenSim
36 public string UserRecvKey = ""; 36 public string UserRecvKey = "";
37 private bool isSandbox; 37 private bool isSandbox;
38 38
39 public string DataStore;
40
39 public RegionInfo() 41 public RegionInfo()
40 { 42 {
41 43
@@ -144,6 +146,17 @@ namespace OpenSim
144 { 146 {
145 this.RegionLocY = (uint)Convert.ToUInt32(attri); 147 this.RegionLocY = (uint)Convert.ToUInt32(attri);
146 } 148 }
149
150 // Local storage datastore
151 attri = "";
152 attri = configData.GetAttribute("Datastore");
153 if (attri == "")
154 {
155 string datastore = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Filename for local storage", "localworld.yap");
156 configData.SetAttribute("Datastore", datastore);
157 this.DataStore = datastore;
158 }
159
147 //Sim Listen Port 160 //Sim Listen Port
148 attri = ""; 161 attri = "";
149 attri = configData.GetAttribute("SimListenPort"); 162 attri = configData.GetAttribute("SimListenPort");