aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/ConfigurationLoader.cs
diff options
context:
space:
mode:
authorlbsa712009-04-17 05:52:46 +0000
committerlbsa712009-04-17 05:52:46 +0000
commitbbe1e196963fe8609a1070793b8439c293261d24 (patch)
tree32102a5e67d7e007d5efe473aef3d331f3697726 /OpenSim/Region/Application/ConfigurationLoader.cs
parent* Added some debug info if MXP is enabled. (diff)
downloadopensim-SC-bbe1e196963fe8609a1070793b8439c293261d24.zip
opensim-SC-bbe1e196963fe8609a1070793b8439c293261d24.tar.gz
opensim-SC-bbe1e196963fe8609a1070793b8439c293261d24.tar.bz2
opensim-SC-bbe1e196963fe8609a1070793b8439c293261d24.tar.xz
* Some more work on refactoring configs;
* Moved the constants out into a separate DefaultConfig * Pulled configMember up * Some minor CCC
Diffstat (limited to 'OpenSim/Region/Application/ConfigurationLoader.cs')
-rw-r--r--OpenSim/Region/Application/ConfigurationLoader.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs
index 8aa8dde..f609cc5 100644
--- a/OpenSim/Region/Application/ConfigurationLoader.cs
+++ b/OpenSim/Region/Application/ConfigurationLoader.cs
@@ -252,16 +252,16 @@ namespace OpenSim
252 252
253 config.Set("default_location_x", 1000); 253 config.Set("default_location_x", 1000);
254 config.Set("default_location_y", 1000); 254 config.Set("default_location_y", 1000);
255 config.Set("http_listener_port", NetworkServersInfo.DefaultHttpListenerPort); 255 config.Set("http_listener_port", DefaultSettings.DefaultRegionHttpPort);
256 config.Set("remoting_listener_port", NetworkServersInfo.RemotingListenerPort); 256 config.Set("remoting_listener_port", DefaultSettings.DefaultRegionRemotingPort);
257 config.Set("grid_server_url", "http://127.0.0.1:" + GridConfig.DefaultHttpPort.ToString()); 257 config.Set("grid_server_url", "http://127.0.0.1:" + DefaultSettings.DefaultGridServerHttpPort.ToString());
258 config.Set("grid_send_key", "null"); 258 config.Set("grid_send_key", "null");
259 config.Set("grid_recv_key", "null"); 259 config.Set("grid_recv_key", "null");
260 config.Set("user_server_url", "http://127.0.0.1:" + UserConfig.DefaultHttpPort.ToString()); 260 config.Set("user_server_url", "http://127.0.0.1:" + DefaultSettings.DefaultUserServerHttpPort.ToString());
261 config.Set("user_send_key", "null"); 261 config.Set("user_send_key", "null");
262 config.Set("user_recv_key", "null"); 262 config.Set("user_recv_key", "null");
263 config.Set("asset_server_url", "http://127.0.0.1:" + AssetConfig.DefaultHttpPort.ToString()); 263 config.Set("asset_server_url", "http://127.0.0.1:" + DefaultSettings.DefaultAssetServerHttpPort.ToString());
264 config.Set("inventory_server_url", "http://127.0.0.1:" + InventoryConfig.DefaultHttpPort.ToString()); 264 config.Set("inventory_server_url", "http://127.0.0.1:" + DefaultSettings.DefaultInventoryServerHttpPort.ToString());
265 config.Set("secure_inventory_server", "true"); 265 config.Set("secure_inventory_server", "true");
266 } 266 }
267 267