aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/ConfigurationMember.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/ConfigurationMember.cs b/OpenSim/Framework/ConfigurationMember.cs
index bbfe28d..7a5e6b2 100644
--- a/OpenSim/Framework/ConfigurationMember.cs
+++ b/OpenSim/Framework/ConfigurationMember.cs
@@ -285,6 +285,11 @@ namespace OpenSim.Framework
285 console_result = attribute; 285 console_result = attribute;
286 } 286 }
287 287
288 // if the first character is a "$", assume it's the name
289 // of an environment variable and substitute with the value of that variable
290 if (console_result.StartsWith("$"))
291 console_result = System.Environment.GetEnvironmentVariable(console_result.Substring(1));
292
288 switch (configOption.configurationType) 293 switch (configOption.configurationType)
289 { 294 {
290 case ConfigurationOption.ConfigurationTypes.TYPE_STRING: 295 case ConfigurationOption.ConfigurationTypes.TYPE_STRING: