mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-04-01 01:15:28 +00:00
fix file tree overwrite
This commit is contained in:
parent
2bcb1f6418
commit
5007565ccc
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue