Skip to content
Permalink
Browse files

Fixing regression introduced in commit c2d19c2, closes #258

  • Loading branch information...
lorenzo committed Jan 25, 2010
1 parent c2d19c2 commit 9c24c72db3032f0bf9482f6f4e749461a42d5b39
Showing with 1 addition and 3 deletions.
  1. +1 −3 cake/libs/configure.php
@@ -1003,7 +1003,6 @@ function &getInstance() {
*/
function __find($file, $recursive = true) {
static $appPath = false;
static $libsPath = false;
if (empty($this->search)) {
return null;
@@ -1018,11 +1017,10 @@ function __find($file, $recursive = true) {
foreach ($this->search as $path) {
if ($appPath === false) {
$appPath = rtrim(APP, DS);
$libsPath = rtrim(LIBS, DS);
}
$path = rtrim($path, DS);
if ($path === $appPath || $path === $libsPath) {
if ($path === $appPath) {
$recursive = false;
}
if ($recursive === false) {

0 comments on commit 9c24c72

Please sign in to comment.
You can’t perform that action at this time.