Hopefully fix #159

This commit is contained in:
Henrique Dias committed 2017-07-27 12:32:10 +01:00
1 parent ef315082ed
commit fbd0cf0c14
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ func parse(c *caddy.Controller) ([]*filemanager.FileManager, error) {
// Get the baseURL and baseScope
args := c.RemainingArgs()
if len(args) == 1 {
if len(args) >= 1 {
directory = args[0]
}