diff options
author | Justin Clark-Casey (justincc) | 2009-12-15 16:24:29 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-12-15 16:24:29 +0000 |
commit | 00365fff020a16dda118660450c8a836d64232d4 (patch) | |
tree | 395627e0654787aeeb259f5a297aeef7e0d091b0 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |
parent | minor: make logging messages consistent in BaseHttpServer (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-00365fff020a16dda118660450c8a836d64232d4.zip opensim-SC_OLD-00365fff020a16dda118660450c8a836d64232d4.tar.gz opensim-SC_OLD-00365fff020a16dda118660450c8a836d64232d4.tar.bz2 opensim-SC_OLD-00365fff020a16dda118660450c8a836d64232d4.tar.xz |
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 1b7db7c..9c7604b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1739,7 +1739,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1739 | CheckThreatLevel(ThreatLevel.Moderate, "osGetGridNick"); | 1739 | CheckThreatLevel(ThreatLevel.Moderate, "osGetGridNick"); |
1740 | m_host.AddScriptLPS(1); | 1740 | m_host.AddScriptLPS(1); |
1741 | string nick = "hippogrid"; | 1741 | string nick = "hippogrid"; |
1742 | IConfigSource config = new IniConfigSource(Application.iniFilePath); | 1742 | IConfigSource config = m_ScriptEngine.ConfigSource; |
1743 | if (config.Configs["GridInfo"] != null) | 1743 | if (config.Configs["GridInfo"] != null) |
1744 | nick = config.Configs["GridInfo"].GetString("gridnick", nick); | 1744 | nick = config.Configs["GridInfo"].GetString("gridnick", nick); |
1745 | return nick; | 1745 | return nick; |
@@ -1750,7 +1750,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1750 | CheckThreatLevel(ThreatLevel.Moderate, "osGetGridName"); | 1750 | CheckThreatLevel(ThreatLevel.Moderate, "osGetGridName"); |
1751 | m_host.AddScriptLPS(1); | 1751 | m_host.AddScriptLPS(1); |
1752 | string name = "the lost continent of hippo"; | 1752 | string name = "the lost continent of hippo"; |
1753 | IConfigSource config = new IniConfigSource(Application.iniFilePath); | 1753 | IConfigSource config = m_ScriptEngine.ConfigSource; |
1754 | if (config.Configs["GridInfo"] != null) | 1754 | if (config.Configs["GridInfo"] != null) |
1755 | name = config.Configs["GridInfo"].GetString("gridname", name); | 1755 | name = config.Configs["GridInfo"].GetString("gridname", name); |
1756 | return name; | 1756 | return name; |
@@ -1761,7 +1761,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1761 | CheckThreatLevel(ThreatLevel.Moderate, "osGetGridLoginURI"); | 1761 | CheckThreatLevel(ThreatLevel.Moderate, "osGetGridLoginURI"); |
1762 | m_host.AddScriptLPS(1); | 1762 | m_host.AddScriptLPS(1); |
1763 | string loginURI = "http://127.0.0.1:9000/"; | 1763 | string loginURI = "http://127.0.0.1:9000/"; |
1764 | IConfigSource config = new IniConfigSource(Application.iniFilePath); | 1764 | IConfigSource config = m_ScriptEngine.ConfigSource; |
1765 | if (config.Configs["GridInfo"] != null) | 1765 | if (config.Configs["GridInfo"] != null) |
1766 | loginURI = config.Configs["GridInfo"].GetString("login", loginURI); | 1766 | loginURI = config.Configs["GridInfo"].GetString("login", loginURI); |
1767 | return loginURI; | 1767 | return loginURI; |