From 634a22185d324e8aed763785775244a3e5876dfa Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 3 Dec 2007 09:50:33 +0000 Subject: Applied patch from mantis issue #110 (with one or two tiny changes) , thanks mpallari/_SomeOne_ --- OpenSim/Region/Application/OpenSimMain.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 9fd5bcc..1f9894c 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -212,6 +212,15 @@ namespace OpenSim 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()); } + + + 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() -- cgit v1.1