aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
index c237282..a6d1019 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
@@ -28,6 +28,7 @@
28 28
29 29
30using System; 30using System;
31using System.IO;
31using Nini.Config; 32using Nini.Config;
32using OpenSim.Framework.Console; 33using OpenSim.Framework.Console;
33using OpenSim.Region.Environment.Interfaces; 34using OpenSim.Region.Environment.Interfaces;
@@ -128,8 +129,14 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
128 RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 0); 129 RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 0);
129 130
130 // Reload from disk 131 // Reload from disk
131 ConfigSource.Reload(); 132 //ConfigSource.Reload();
132 // Create a new object (probably not necessary?) 133 if (File.Exists(OpenSim.Application.iniFilePath))
134 {
135 //ConfigSource.Merge(new IniConfigSource(OpenSim.Application.iniFilePath));
136 }
137
138
139 // Create a new object (probably not necessary?)
133// ScriptConfigSource = ConfigSource.Configs[ScriptEngineName]; 140// ScriptConfigSource = ConfigSource.Configs[ScriptEngineName];
134 141
135 if (m_EventQueueManager != null) m_EventQueueManager.ReadConfig(); 142 if (m_EventQueueManager != null) m_EventQueueManager.ReadConfig();