mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
parent
0bcb8d0dfa
commit
155968349f
1 changed files with 3 additions and 0 deletions
|
@ -413,6 +413,9 @@ class Folder {
|
|||
if ($skipHidden && $name[0] === '.' || isset($exceptions[$name])) {
|
||||
continue;
|
||||
}
|
||||
if ($name === '.' || $name === '..') {
|
||||
continue;
|
||||
}
|
||||
if ($item->isFile()) {
|
||||
$files[] = $item->getPathName();
|
||||
} else if ($item->isDir()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue