Skip to content
This repository
Browse code

last commit broke schema, this works better with the help of markstory

Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information...
commit 4ffacfad2d30ce09de42a651b6ce541a0f685444 1 parent dd2cbc2
Carl Sutton authored January 08, 2010 markstory committed January 08, 2010

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  cake/libs/configure.php
2  cake/libs/configure.php
@@ -823,8 +823,10 @@ function objects($type, $path = null, $cache = true) {
823 823
 			$items = array();
824 824
 
825 825
 			foreach ((array)$path as $dir) {
  826
+				if ($dir != APP) {
826 827
 					$items = $_this->__list($dir, $types[$type]['suffix'], $extension);
827 828
 					$objects = array_merge($items, array_diff($objects, $items));
  829
+				}
828 830
 			}
829 831
 
830 832
 			if ($type !== 'file') {

0 notes on commit 4ffacfa

Please sign in to comment.
Something went wrong with that request. Please try again.