aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/RegionInfo.cs5
-rw-r--r--OpenSim/Region/Application/OpenSim.cs7
2 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index 5cbc776..34a69d7 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -217,6 +217,11 @@ namespace OpenSim.Framework
217 217
218 // Apparently, we're applying the same estatesettings regardless of whether it's local or remote. 218 // Apparently, we're applying the same estatesettings regardless of whether it's local or remote.
219 219
220 // MT: Yes. Estates can't span trust boundaries. Therefore, it can be
221 // assumed that all instances belonging to one estate are able to
222 // access the same database server. Since estate settings are lodaed
223 // from there, that should be sufficient for full remote administration
224
220 public RegionInfo(string description, string filename, bool skipConsoleConfig) 225 public RegionInfo(string description, string filename, bool skipConsoleConfig)
221 { 226 {
222 configMember = 227 configMember =
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 0b3d5df..1e2b8a5 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -311,7 +311,12 @@ namespace OpenSim
311 311
312 case "create-region": 312 case "create-region":
313 string regionsDir = ConfigSource.Source.Configs["Startup"].GetString("regionload_regionsdir", "Regions").Trim(); 313 string regionsDir = ConfigSource.Source.Configs["Startup"].GetString("regionload_regionsdir", "Regions").Trim();
314 CreateRegion(new RegionInfo(cmdparams[0], String.Format("{0}/{1}", regionsDir, cmdparams[1]), false), true); 314 string regionFile = String.Format("{0}/{1}", regionsDir, cmdparams[1]);
315 // Allow absolute and relative specifiers
316 if (cmdparams[1].StartsWith("/") || cmdparams[1].StartsWith("\\") || cmdparams[1].StartsWith(".."))
317 regionFile = cmdparams[1];
318
319 CreateRegion(new RegionInfo(cmdparams[0], regionFile, false), true);
315 break; 320 break;
316 321
317 case "remove-region": 322 case "remove-region":