0.9.1.0-post-fixes
UbitUmarov 2018-10-20 16:21:36 +01:00
parent 47488c9017
commit 56d5b3bf92
2 changed files with 1 additions and 4 deletions

View File

@ -158,7 +158,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if(m_osslconfig == null)
m_osslconfig = m_ScriptEngine.Config;
m_debuggerSafe = m_ScriptEngine.Config.GetBoolean("DebuggerSafe", m_debuggerSafe);
m_debuggerSafe = m_osslconfig.GetBoolean("DebuggerSafe", m_debuggerSafe);
m_UrlModule = m_ScriptEngine.World.RequestModuleInterface<IUrlModule>();
m_SoundModule = m_ScriptEngine.World.RequestModuleInterface<ISoundModule>();

View File

@ -68,12 +68,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
IConfig xengineConfig = initConfigSource.AddConfig("XEngine");
xengineConfig.Set("Enabled", "true");
xengineConfig.Set("AllowOSFunctions", "true");
xengineConfig.Set("OSFunctionThreatLevel", "Severe");
IConfig oconfig = initConfigSource.AddConfig("OSSL");
oconfig.Set("DebuggerSafe", false);
oconfig.Set("Enabled", "true");
oconfig.Set("AllowOSFunctions", "true");
oconfig.Set("OSFunctionThreatLevel", "Severe");