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:
Melanie Thielker
2009-06-06 16:39:28 +00:00
parent f94e192b86
commit 5139160ce4
5 changed files with 18 additions and 7 deletions

View File

@@ -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)