fix file tree overwrite

This commit is contained in:
ghost 2024-02-02 15:20:39 +02:00
parent 2bcb1f6418
commit 5007565ccc

View File

@ -182,7 +182,10 @@ class Filesystem
{
case is_dir($file):
$this->_tree[$path] = [];
if (!isset($this->_tree[$path]))
{
$this->_tree[$path] = [];
}
$this->_index($file);