diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs index 06ce14522e..b19e5491c7 100644 --- a/OpenSim/Region/Application/ConfigurationLoader.cs +++ b/OpenSim/Region/Application/ConfigurationLoader.cs @@ -213,6 +213,8 @@ namespace OpenSim // Make sure command line options take precedence m_config.Source.Merge(argvSource); + m_config.Source.ReplaceKeyValues(); + ReadConfigSettings(); return m_config; diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs index 86a25518c5..d7d1306b69 100644 --- a/OpenSim/Server/Base/ServicesServerBase.cs +++ b/OpenSim/Server/Base/ServicesServerBase.cs @@ -129,6 +129,8 @@ namespace OpenSim.Server.Base // Merge the configuration from the command line into the loaded file Config.Merge(argvConfig); + Config.ReplaceKeyValues(); + // Refresh the startupConfig post merge if (Config.Configs["Startup"] != null) {