HGAssetService searches for the "HomeURI" setting in several sections: Startup, Hypergrid, HGAssetService
Resolves http://opensimulator.org/mantis/view.php?id=69400.8.0.3
parent
8cec0b3fa1
commit
0ff61341e4
|
@ -76,10 +76,10 @@ namespace OpenSim.Services.HypergridService
|
||||||
if (m_UserAccountService == null)
|
if (m_UserAccountService == null)
|
||||||
throw new Exception(String.Format("Unable to create UserAccountService from {0}", userAccountsDll));
|
throw new Exception(String.Format("Unable to create UserAccountService from {0}", userAccountsDll));
|
||||||
|
|
||||||
// legacy configuration [obsolete]
|
m_HomeURL = Util.GetConfigVarFromSections<string>(config, "HomeURI",
|
||||||
m_HomeURL = assetConfig.GetString("ProfileServerURI", string.Empty);
|
new string[] { "Startup", "Hypergrid", configName }, string.Empty);
|
||||||
// Preferred
|
if (m_HomeURL == string.Empty)
|
||||||
m_HomeURL = assetConfig.GetString("HomeURI", m_HomeURL);
|
throw new Exception("[HGAssetService] No HomeURI specified");
|
||||||
|
|
||||||
m_Cache = UserAccountCache.CreateUserAccountCache(m_UserAccountService);
|
m_Cache = UserAccountCache.CreateUserAccountCache(m_UserAccountService);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue