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.
inv-download
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);

View File

@ -964,7 +964,7 @@
;# {Include-osslEnable} {} {Include file for enabling and permissions for OSSL functions} {}
;; Optionally include file to enable OSSL functions and set permissions on who can use which.
;; If this INI file is not included, the OSSL functions are disabled.
; Include-osslEnable = "config-include/osslEnable.ini"
Include-osslEnable = "config-include/osslEnable.ini"
[MRM]

View File

@ -88,7 +88,7 @@
Allow_osMax = true
Allow_osMin = true
Allow_osMovePen = true
Allow_osNpcGetOwner = true
Allow_osNpcGetOwner = ${XEngine|osslNPC}
Allow_osParseJSON = true
Allow_osParseJSONNew = true
Allow_osSetFontName = true