Correct an error where the config file name was always considered to be a
local file. This caused llHttpRequest and llSetInventoryPermsMask to fail on regions that load their config from a web server
This commit is contained in:
@@ -73,7 +73,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
// that has been running too long
|
||||
public static MaintenanceThread m_MaintenanceThread;
|
||||
|
||||
public IConfigSource ConfigSource;
|
||||
private IConfigSource m_ConfigSource;
|
||||
public IConfig ScriptConfigSource;
|
||||
private bool m_enabled = false;
|
||||
|
||||
@@ -82,6 +82,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
get { return ScriptConfigSource; }
|
||||
}
|
||||
|
||||
public IConfigSource ConfigSource
|
||||
{
|
||||
get { return m_ConfigSource; }
|
||||
}
|
||||
|
||||
// How many seconds between re-reading config-file.
|
||||
// 0 = never. ScriptEngine will try to adjust to new config changes.
|
||||
public int RefreshConfigFileSeconds {
|
||||
@@ -119,7 +124,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
|
||||
public void Initialise(IConfigSource config)
|
||||
{
|
||||
ConfigSource = config;
|
||||
m_ConfigSource = config;
|
||||
}
|
||||
|
||||
public void AddRegion(Scene Sceneworld)
|
||||
|
||||
Reference in New Issue
Block a user