aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDr Scofield2008-08-28 10:01:56 +0000
committerDr Scofield2008-08-28 10:01:56 +0000
commit18280915287bcc47b72aac714d123243427cb297 (patch)
treeb26f11b4153d0bf2d312338c5311aa0dc198569b /OpenSim
parentadds XmlRcpLoadOAR support to RemoteAdminPlugin.cs (diff)
downloadopensim-SC_OLD-18280915287bcc47b72aac714d123243427cb297.zip
opensim-SC_OLD-18280915287bcc47b72aac714d123243427cb297.tar.gz
opensim-SC_OLD-18280915287bcc47b72aac714d123243427cb297.tar.bz2
opensim-SC_OLD-18280915287bcc47b72aac714d123243427cb297.tar.xz
create-region didn't know about regionload_regionsdir...
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index ce44f99..dbadecc 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -348,7 +348,8 @@ namespace OpenSim
348 break; 348 break;
349 349
350 case "create-region": 350 case "create-region":
351 CreateRegion(new RegionInfo(cmdparams[0], "Regions/" + cmdparams[1],false), true); 351 string regionsDir = ConfigSource.Source.Configs["Startup"].GetString("regionload_regionsdir", "Regions").Trim();
352 CreateRegion(new RegionInfo(cmdparams[0], String.Format("{0}/{1}", regionsDir, cmdparams[1]), false), true);
352 break; 353 break;
353 354
354 case "remove-region": 355 case "remove-region":