mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 19:44:02 +08:00
#19453: Correcting implementation of AzureFileSystem.FolderExists
Work Item: 19453 --HG-- branch : 1.x
This commit is contained in:
@@ -103,7 +103,7 @@ namespace Orchard.Azure {
|
||||
|
||||
public bool FolderExists(string path) {
|
||||
using (new HttpContextWeaver()) {
|
||||
return Container.BlobExists(String.Concat(_root, path));
|
||||
return Container.DirectoryExists(String.Concat(_root, path));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user