diff options
Diffstat (limited to 'OpenSim/Framework/General/Configuration/AssetConfig.cs')
-rw-r--r-- | OpenSim/Framework/General/Configuration/AssetConfig.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/General/Configuration/AssetConfig.cs b/OpenSim/Framework/General/Configuration/AssetConfig.cs index 95f578c..a7c87ad 100644 --- a/OpenSim/Framework/General/Configuration/AssetConfig.cs +++ b/OpenSim/Framework/General/Configuration/AssetConfig.cs | |||
@@ -41,7 +41,8 @@ namespace OpenSim.Framework.Configuration | |||
41 | 41 | ||
42 | public string DatabaseProvider = ""; | 42 | public string DatabaseProvider = ""; |
43 | 43 | ||
44 | public uint HttpPort = 8003; | 44 | public static uint DefaultHttpPort = 8003; |
45 | public uint HttpPort = DefaultHttpPort; | ||
45 | 46 | ||
46 | private ConfigurationMember configMember; | 47 | private ConfigurationMember configMember; |
47 | 48 | ||
@@ -57,7 +58,7 @@ namespace OpenSim.Framework.Configuration | |||
57 | 58 | ||
58 | configMember.addConfigurationOption("database_provider", ConfigurationOption.ConfigurationTypes.TYPE_STRING, "DLL for database provider", "OpenSim.Framework.Data.MySQL.dll", false); | 59 | configMember.addConfigurationOption("database_provider", ConfigurationOption.ConfigurationTypes.TYPE_STRING, "DLL for database provider", "OpenSim.Framework.Data.MySQL.dll", false); |
59 | 60 | ||
60 | configMember.addConfigurationOption("http_port", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, "Http Listener port", "8003", false); | 61 | configMember.addConfigurationOption("http_port", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, "Http Listener port", DefaultHttpPort.ToString(), false); |
61 | 62 | ||
62 | } | 63 | } |
63 | 64 | ||