From 2bcb1f6418613695fd4dfadc2dd543647de41dbb Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 2 Feb 2024 15:18:03 +0200 Subject: [PATCH] fix missed root path in tree --- src/Dokuwiki/Filesystem.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Dokuwiki/Filesystem.php b/src/Dokuwiki/Filesystem.php index 1217ca6..9087a4c 100644 --- a/src/Dokuwiki/Filesystem.php +++ b/src/Dokuwiki/Filesystem.php @@ -182,6 +182,8 @@ class Filesystem { case is_dir($file): + $this->_tree[$path] = []; + $this->_index($file); break;