Enable OSSL functions by default using the osslEnable.ini configuration file.

This changes OpenSim.ini.example to, by default, include osslEnable.ini which
turns on the OSSL functions and limits who can do which operations.
This commit is contained in:
Robert Adams
2015-04-14 07:17:54 -07:00
parent 520e6ed6f3
commit e4e58fad32
3 changed files with 5 additions and 2 deletions

View File

@@ -153,7 +153,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_UrlModule = m_ScriptEngine.World.RequestModuleInterface<IUrlModule>();
if (m_ScriptEngine.Config.GetBoolean("AllowOSFunctions", false))
{
m_OSFunctionsEnabled = true;
m_log.Warn("[OSSL] OSSL FUNCTIONS ENABLED");
}
m_ScriptDelayFactor =
m_ScriptEngine.Config.GetFloat("ScriptDelayFactor", 1.0f);