aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
authorteravus2013-09-16 16:49:46 -0500
committerteravus2013-09-16 16:49:46 -0500
commitc4b0f172a12320919566c74aecd4e3f144f18a4e (patch)
treed1d376cf049f6f1af7a701edc500433c35872a56 /OpenSim/Region/Application/OpenSimBase.cs
parent* This fixes the border crossing offsets by storing the final keyframe locati... (diff)
parentMerge branch 'avination-current' into careminster (diff)
downloadopensim-SC-c4b0f172a12320919566c74aecd4e3f144f18a4e.zip
opensim-SC-c4b0f172a12320919566c74aecd4e3f144f18a4e.tar.gz
opensim-SC-c4b0f172a12320919566c74aecd4e3f144f18a4e.tar.bz2
opensim-SC-c4b0f172a12320919566c74aecd4e3f144f18a4e.tar.xz
Merge branch 'master' of careminster:/var/git/careminster
Diffstat (limited to 'OpenSim/Region/Application/OpenSimBase.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs40
1 files changed, 16 insertions, 24 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 0f3bac4..4891c1a 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -196,7 +196,9 @@ namespace OpenSim
196 196
197 m_securePermissionsLoading = startupConfig.GetBoolean("SecurePermissionsLoading", true); 197 m_securePermissionsLoading = startupConfig.GetBoolean("SecurePermissionsLoading", true);
198 198
199 string permissionModules = startupConfig.GetString("permissionmodules", "DefaultPermissionsModule"); 199 string permissionModules = Util.GetConfigVarFromSections<string>(Config, "permissionmodules",
200 new string[] { "Startup", "Permissions" }, "DefaultPermissionsModule");
201
200 m_permsModules = new List<string>(permissionModules.Split(',')); 202 m_permsModules = new List<string>(permissionModules.Split(','));
201 203
202 managedStatsURI = startupConfig.GetString("ManagedStatsRemoteFetchURI", String.Empty); 204 managedStatsURI = startupConfig.GetString("ManagedStatsRemoteFetchURI", String.Empty);
@@ -392,29 +394,19 @@ namespace OpenSim
392 } 394 }
393 else m_log.Error("[REGIONMODULES]: The new RegionModulesController is missing..."); 395 else m_log.Error("[REGIONMODULES]: The new RegionModulesController is missing...");
394 396
395 // XPTO: Fix this 397 if (m_securePermissionsLoading)
396// if (m_securePermissionsLoading) 398 {
397// { 399 foreach (string s in m_permsModules)
398// foreach (string s in m_permsModules) 400 {
399// { 401 if (!scene.RegionModules.ContainsKey(s))
400// if (!scene.RegionModules.ContainsKey(s)) 402 {
401// { 403 m_log.Fatal("[MODULES]: Required module " + s + " not found.");
402// bool found = false; 404 Environment.Exit(0);
403// foreach (IRegionModule m in modules) 405 }
404// { 406 }
405// if (m.Name == s) 407
406// { 408 m_log.InfoFormat("[SCENE]: Secure permissions loading enabled, modules loaded: {0}", String.Join(" ", m_permsModules.ToArray()));
407// found = true; 409 }
408// }
409// }
410// if (!found)
411// {
412// m_log.Fatal("[MODULES]: Required module " + s + " not found.");
413// Environment.Exit(0);
414// }
415// }
416// }
417// }
418 410
419 scene.SetModuleInterfaces(); 411 scene.SetModuleInterfaces();
420// First Step of bootreport sequence 412// First Step of bootreport sequence