diff options
author | MW | 2008-06-26 17:20:08 +0000 |
---|---|---|
committer | MW | 2008-06-26 17:20:08 +0000 |
commit | 682ec53420ffac9918febc12b7140363602812e5 (patch) | |
tree | a3d45436d19e0388c9f52f7e4bc8058f52d71ec5 /ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs | |
parent | WORK-IN-PRGRESS: beware of falling pieces and shifting (diff) | |
download | opensim-SC-682ec53420ffac9918febc12b7140363602812e5.zip opensim-SC-682ec53420ffac9918febc12b7140363602812e5.tar.gz opensim-SC-682ec53420ffac9918febc12b7140363602812e5.tar.bz2 opensim-SC-682ec53420ffac9918febc12b7140363602812e5.tar.xz |
As per the suggestion on the mailing list, added support for a OpenSim.xml config file, instead of a ini file. INI files still work the same as they did before, just now if a ini file isn't found, it looks for a OpenSim.xml file (of course in xml format) and if found uses that.
Includes a OpenSim.Example.xml for reference (the default settings saved as a xml file).
Diffstat (limited to 'ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs')
-rw-r--r-- | ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs b/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs index c9711c3..d8376b4 100644 --- a/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs +++ b/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs | |||
@@ -72,7 +72,7 @@ namespace OpenSim.ApplicationPlugins.RegionProxy | |||
72 | public void Initialise(OpenSimBase openSim) | 72 | public void Initialise(OpenSimBase openSim) |
73 | { | 73 | { |
74 | m_log.Info("Starting proxy"); | 74 | m_log.Info("Starting proxy"); |
75 | string proxyURL = openSim.ConfigSource.Configs["Network"].GetString("proxy_url", ""); | 75 | string proxyURL = openSim.ConfigSource.ConfigSource.Configs["Network"].GetString("proxy_url", ""); |
76 | if (proxyURL.Length == 0) return; | 76 | if (proxyURL.Length == 0) return; |
77 | 77 | ||
78 | uint port = (uint) Int32.Parse(proxyURL.Split(new char[] {':'})[2]); | 78 | uint port = (uint) Int32.Parse(proxyURL.Split(new char[] {':'})[2]); |