diff --git a/cake/libs/configure.php b/cake/libs/configure.php index a70437722..0eeca704a 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;