mirror of
https://github.com/opensim/opensim.git
synced 2026-07-23 08:25:45 +08:00
oops
This commit is contained in:
@@ -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>();
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user