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:
dogmatic 2010-01-08 11:39:40 +02:00 committed by Mark Story
parent dd2cbc2cb5
commit 4ffacfad2d

View file

@ -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') {