mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +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])) {
|
if ($skipHidden && $name[0] === '.' || isset($exceptions[$name])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if ($name === '.' || $name === '..') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if ($item->isFile()) {
|
if ($item->isFile()) {
|
||||||
$files[] = $item->getPathName();
|
$files[] = $item->getPathName();
|
||||||
} else if ($item->isDir()) {
|
} else if ($item->isDir()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue