WIP
parent
92baad434c
commit
d45758bbf3
|
@ -19,7 +19,12 @@ namespace ln.http.resources
|
|||
protected Dictionary<string, Resource> injectedResources = new Dictionary<string, Resource>();
|
||||
|
||||
public DirectoryResource(String path)
|
||||
: base(System.IO.Path.GetFileName(path))
|
||||
: base("")
|
||||
{
|
||||
DirectoryInfo = new DirectoryInfo(path);
|
||||
}
|
||||
public DirectoryResource(String path,string name)
|
||||
: base(name)
|
||||
{
|
||||
DirectoryInfo = new DirectoryInfo(path);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue