Applied patch from mantis issue #110 (with one or two tiny changes) , thanks mpallari/_SomeOne_

afrisby
MW 2007-12-03 09:50:33 +00:00
parent 1dfa05c823
commit 634a22185d
1 changed files with 9 additions and 0 deletions

View File

@ -212,6 +212,15 @@ namespace OpenSim
config.Set("asset_server_url", "http://127.0.0.1:" + AssetConfig.DefaultHttpPort.ToString()); config.Set("asset_server_url", "http://127.0.0.1:" + AssetConfig.DefaultHttpPort.ToString());
config.Set("inventory_server_url", "http://127.0.0.1:" + InventoryConfig.DefaultHttpPort.ToString()); config.Set("inventory_server_url", "http://127.0.0.1:" + InventoryConfig.DefaultHttpPort.ToString());
} }
if (m_config.Configs["RemoteAdmin"] == null)
m_config.AddConfig("RemoteAdmin");
config = m_config.Configs["RemoteAdmin"];
if (config != null)
{
config.Set("enabled", "false");
}
} }
protected void ReadConfigSettings() protected void ReadConfigSettings()