mirror of
https://github.com/YGGverse/gemini-php.git
synced 2025-01-29 16:24:13 +00:00
fix file tree overwrite
This commit is contained in:
parent
2bcb1f6418
commit
5007565ccc
@ -182,7 +182,10 @@ class Filesystem
|
|||||||
{
|
{
|
||||||
case is_dir($file):
|
case is_dir($file):
|
||||||
|
|
||||||
$this->_tree[$path] = [];
|
if (!isset($this->_tree[$path]))
|
||||||
|
{
|
||||||
|
$this->_tree[$path] = [];
|
||||||
|
}
|
||||||
|
|
||||||
$this->_index($file);
|
$this->_index($file);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user