aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorTedd Hansen2008-02-02 07:35:51 +0000
committerTedd Hansen2008-02-02 07:35:51 +0000
commit2db5de3e7217ca4bd9fcaf5345ea5672b5d6663f (patch)
tree933067db00bb5a76447802aadc6405094ed6b673 /OpenSim/Region/ScriptEngine
parentUpdated svn properties. (diff)
downloadopensim-SC-2db5de3e7217ca4bd9fcaf5345ea5672b5d6663f.zip
opensim-SC-2db5de3e7217ca4bd9fcaf5345ea5672b5d6663f.tar.gz
opensim-SC-2db5de3e7217ca4bd9fcaf5345ea5672b5d6663f.tar.bz2
opensim-SC-2db5de3e7217ca4bd9fcaf5345ea5672b5d6663f.tar.xz
Added commands to change config file from console:
CONFIG SET section key value value value CONFIG GET section key CONFIG SAVE (it saves, but does it save correctly?:) ScriptEngine will react correctly to any config change made while it is running.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
index 0b58da0..4cf39b4 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
@@ -134,14 +134,14 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
134#if DEBUG 134#if DEBUG
135 Log.Debug(ScriptEngineName, "Refreshing configuration for all modules"); 135 Log.Debug(ScriptEngineName, "Refreshing configuration for all modules");
136#endif 136#endif
137 RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 0); 137 RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 30);
138 138
139 // Reload from disk 139 // Reload from disk? No!
140 //ConfigSource.Reload(); 140 //ConfigSource.Reload();
141 if (File.Exists(OpenSim.Application.iniFilePath)) 141 //if (File.Exists(OpenSim.Application.iniFilePath))
142 { 142 //{
143 //ConfigSource.Merge(new IniConfigSource(OpenSim.Application.iniFilePath)); 143 // //ConfigSource.Merge(new IniConfigSource(OpenSim.Application.iniFilePath));
144 } 144 //}
145 145
146 146
147 // Create a new object (probably not necessary?) 147 // Create a new object (probably not necessary?)