Fixing weird lstat bug on Windows for rrmdir function for large amount of directory items
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
6b40e78795
commit
5b1a5ec442
|
@ -587,7 +587,7 @@ function rrmdir(string $dir, bool $remove_top_dir = true)
|
|||
{
|
||||
if($object != "." && $object != "..")
|
||||
{
|
||||
if(filetype($dir."/".$object) == "dir")
|
||||
if(is_dir($dir."/".$object))
|
||||
rrmdir($dir."/".$object);
|
||||
else
|
||||
unlink($dir."/".$object);
|
||||
|
|
Loading…
Reference in New Issue