create-region didn't know about regionload_regionsdir...
parent
0921dafddf
commit
1828091528
|
@ -348,7 +348,8 @@ namespace OpenSim
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "create-region":
|
case "create-region":
|
||||||
CreateRegion(new RegionInfo(cmdparams[0], "Regions/" + cmdparams[1],false), true);
|
string regionsDir = ConfigSource.Source.Configs["Startup"].GetString("regionload_regionsdir", "Regions").Trim();
|
||||||
|
CreateRegion(new RegionInfo(cmdparams[0], String.Format("{0}/{1}", regionsDir, cmdparams[1]), false), true);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "remove-region":
|
case "remove-region":
|
||||||
|
|
Loading…
Reference in New Issue