mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Added osGetGridGatekeeperURI()
This commit is contained in:
@@ -2093,6 +2093,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return HomeURI;
|
||||
}
|
||||
|
||||
public string osGetGridGatekeeperURI()
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridGatekeeperURI");
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
string gatekeeperURI = String.Empty;
|
||||
IConfigSource config = m_ScriptEngine.ConfigSource;
|
||||
|
||||
if (config.Configs["GridService"] != null)
|
||||
gatekeeperURI = config.Configs["GridService"].GetString("Gatekeeper", gatekeeperURI);
|
||||
|
||||
return gatekeeperURI;
|
||||
}
|
||||
|
||||
public string osGetGridCustom(string key)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridCustom");
|
||||
|
||||
Reference in New Issue
Block a user