Fix DirectoryResource.Contains()
parent
05ef2c8374
commit
943e889cf9
|
@ -63,7 +63,7 @@ namespace ln.http.resources
|
|||
if (injectedResources.ContainsKey(name))
|
||||
return true;
|
||||
|
||||
String cPath = PathHelper.FindPath(searchPaths);
|
||||
String cPath = PathHelper.FindPath(searchPaths.Select((p) => System.IO.Path.Combine(p, name)));
|
||||
|
||||
if ((cPath == null) && cache.ContainsKey(name))
|
||||
cache.Remove(name);
|
||||
|
|
Loading…
Reference in New Issue