aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/ConfigurationLoader.cs39
1 files changed, 0 insertions, 39 deletions
diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs
index 62bd4f4..66e46cb 100644
--- a/OpenSim/Region/Application/ConfigurationLoader.cs
+++ b/OpenSim/Region/Application/ConfigurationLoader.cs
@@ -140,7 +140,6 @@ namespace OpenSim
140 140
141 m_config = new OpenSimConfigSource(); 141 m_config = new OpenSimConfigSource();
142 m_config.Source = new IniConfigSource(); 142 m_config.Source = new IniConfigSource();
143 m_config.Source.Merge(DefaultConfig());
144 143
145 m_log.Info("[CONFIG]: Reading configuration settings"); 144 m_log.Info("[CONFIG]: Reading configuration settings");
146 145
@@ -329,44 +328,6 @@ namespace OpenSim
329 } 328 }
330 329
331 /// <summary> 330 /// <summary>
332 /// Setup a default config values in case they aren't present in the ini file
333 /// </summary>
334 /// <returns>A Configuration source containing the default configuration</returns>
335 private static IConfigSource DefaultConfig()
336 {
337 IConfigSource defaultConfig = new IniConfigSource();
338
339 {
340 IConfig config = defaultConfig.Configs["Startup"];
341
342 if (null == config)
343 config = defaultConfig.AddConfig("Startup");
344
345 config.Set("region_info_source", "filesystem");
346
347 config.Set("physics", "OpenDynamicsEngine");
348 config.Set("meshing", "Meshmerizer");
349 config.Set("physical_prim", true);
350 config.Set("serverside_object_permissions", true);
351 config.Set("startup_console_commands_file", String.Empty);
352 config.Set("shutdown_console_commands_file", String.Empty);
353 config.Set("DefaultScriptEngine", "XEngine");
354 config.Set("clientstack_plugin", "OpenSim.Region.ClientStack.LindenUDP.dll");
355 }
356
357 {
358 IConfig config = defaultConfig.Configs["Network"];
359
360 if (null == config)
361 config = defaultConfig.AddConfig("Network");
362
363 config.Set("http_listener_port", ConfigSettings.DefaultRegionHttpPort);
364 }
365
366 return defaultConfig;
367 }
368
369 /// <summary>
370 /// Read initial region settings from the ConfigSource 331 /// Read initial region settings from the ConfigSource
371 /// </summary> 332 /// </summary>
372 protected virtual void ReadConfigSettings() 333 protected virtual void ReadConfigSettings()