Try another way to canonicalize the path that may work in Windoze

arthursv
Melanie 2009-08-07 22:37:41 +01:00
parent ccd0c893ec
commit e1427b4c3f
1 changed files with 2 additions and 1 deletions

View File

@ -187,7 +187,8 @@ namespace OpenSim
else else
{ {
m_log.InfoFormat("Adding {0} to configuration", Path.Combine(Util.configDir(), file)); m_log.InfoFormat("Adding {0} to configuration", Path.Combine(Util.configDir(), file));
string path = Path.Combine(Util.configDir(), file); string base = Path.GetFullPath(Util.configDir());
string path = Path.Combine(base, file);
string[] paths = Util.Glob(path); string[] paths = Util.Glob(path);
foreach (string p in paths) foreach (string p in paths)
{ {