mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
last commit broke schema, this works better with the help of markstory
Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
parent
dd2cbc2cb5
commit
4ffacfad2d
1 changed files with 2 additions and 0 deletions
|
@ -823,8 +823,10 @@ class App extends Object {
|
|||
$items = array();
|
||||
|
||||
foreach ((array)$path as $dir) {
|
||||
if ($dir != APP) {
|
||||
$items = $_this->__list($dir, $types[$type]['suffix'], $extension);
|
||||
$objects = array_merge($items, array_diff($objects, $items));
|
||||
}
|
||||
}
|
||||
|
||||
if ($type !== 'file') {
|
||||
|
|
Loading…
Add table
Reference in a new issue