oops
parent
47488c9017
commit
56d5b3bf92
|
@ -158,7 +158,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
if(m_osslconfig == null)
|
if(m_osslconfig == null)
|
||||||
m_osslconfig = m_ScriptEngine.Config;
|
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_UrlModule = m_ScriptEngine.World.RequestModuleInterface<IUrlModule>();
|
||||||
m_SoundModule = m_ScriptEngine.World.RequestModuleInterface<ISoundModule>();
|
m_SoundModule = m_ScriptEngine.World.RequestModuleInterface<ISoundModule>();
|
||||||
|
|
|
@ -68,12 +68,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
||||||
|
|
||||||
IConfig xengineConfig = initConfigSource.AddConfig("XEngine");
|
IConfig xengineConfig = initConfigSource.AddConfig("XEngine");
|
||||||
xengineConfig.Set("Enabled", "true");
|
xengineConfig.Set("Enabled", "true");
|
||||||
xengineConfig.Set("AllowOSFunctions", "true");
|
|
||||||
xengineConfig.Set("OSFunctionThreatLevel", "Severe");
|
|
||||||
|
|
||||||
IConfig oconfig = initConfigSource.AddConfig("OSSL");
|
IConfig oconfig = initConfigSource.AddConfig("OSSL");
|
||||||
oconfig.Set("DebuggerSafe", false);
|
oconfig.Set("DebuggerSafe", false);
|
||||||
oconfig.Set("Enabled", "true");
|
|
||||||
oconfig.Set("AllowOSFunctions", "true");
|
oconfig.Set("AllowOSFunctions", "true");
|
||||||
oconfig.Set("OSFunctionThreatLevel", "Severe");
|
oconfig.Set("OSFunctionThreatLevel", "Severe");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue