diff options
author | Michael Cortez | 2009-08-06 09:38:51 -0700 |
---|---|---|
committer | Michael Cortez | 2009-08-06 09:38:51 -0700 |
commit | 2ac04cb624d36c048b6793f9db7c073eb6a01026 (patch) | |
tree | cb76f55c634c9f1107dea7204729497c5ba3bb75 /OpenSim/Region/Application/ConfigurationLoader.cs | |
parent | Fixing comments re: INI file. (diff) | |
parent | Add the config-include statement to OpenSim.ini.example. (diff) | |
download | opensim-SC-2ac04cb624d36c048b6793f9db7c073eb6a01026.zip opensim-SC-2ac04cb624d36c048b6793f9db7c073eb6a01026.tar.gz opensim-SC-2ac04cb624d36c048b6793f9db7c073eb6a01026.tar.bz2 opensim-SC-2ac04cb624d36c048b6793f9db7c073eb6a01026.tar.xz |
Merge branch 'master' into groups-core-contrib
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/ConfigurationLoader.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs index 1be36ca..7bb8864 100644 --- a/OpenSim/Region/Application/ConfigurationLoader.cs +++ b/OpenSim/Region/Application/ConfigurationLoader.cs | |||
@@ -188,10 +188,11 @@ namespace OpenSim | |||
188 | { | 188 | { |
189 | string path = Path.GetFullPath( | 189 | string path = Path.GetFullPath( |
190 | Path.Combine(Util.configDir(), file)); | 190 | Path.Combine(Util.configDir(), file)); |
191 | if (File.Exists(path)) | 191 | string[] paths = Util.Glob(path); |
192 | foreach (string p in paths) | ||
192 | { | 193 | { |
193 | if (!sources.Contains(path)) | 194 | if (!sources.Contains(p)) |
194 | sources.Add(path); | 195 | sources.Add(p); |
195 | } | 196 | } |
196 | } | 197 | } |
197 | } | 198 | } |