diff --git a/cake/libs/configure.php b/cake/libs/configure.php
index <HASH>..<HASH> 100644
--- a/cake/libs/configure.php
+++ b/cake/libs/configure.php
@@ -893,7 +893,9 @@ class App extends Object {
 				continue;
 			}
 			if (!isset($_this->__paths[$path])) {
-				$_this->import('Folder');
+				if (!class_exists('Folder')) {
+					require LIBS . 'folder.php';
+				}
 				$Folder =& new Folder();
 				$directories = $Folder->tree($path, false, 'dir');
 				$_this->__paths[$path] = $directories;
Changing how Folder Class is loaded.  Fixes infinite loops resulting in segfault under apache 2 when Cache.disable = true and debug = 0.  Closes #<I>

git-svn-id: <URL>