Remove GetFullPath call from config includes, because it barfs in Windoze

arthursv
Melanie 2009-08-07 20:51:07 +01:00
parent 4ee8d8a813
commit d10f157183
2 changed files with 1 additions and 5 deletions

View File

@ -1155,11 +1155,8 @@ namespace OpenSim.Framework
string[] files = Directory.GetFiles(p, c); string[] files = Directory.GetFiles(p, c);
foreach (string f in files) foreach (string f in files)
{
m_log.InfoFormat("Adding file {0} to include list", f);
found.Add(f); found.Add(f);
} }
}
paths = addpaths; paths = addpaths;
} }

View File

@ -187,8 +187,7 @@ 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.GetFullPath( string path = Path.Combine(Util.configDir(), file);
Path.Combine(Util.configDir(), file));
string[] paths = Util.Glob(path); string[] paths = Util.Glob(path);
foreach (string p in paths) foreach (string p in paths)
{ {