From 8ed4876830546593f20db6c7e9aed299aa76a80a Mon Sep 17 00:00:00 2001 From: Matthew Lanigan Date: Mon, 30 Jan 2012 10:31:35 -0500 Subject: [PATCH] Add APP/Package to tested paths in App::load() --- lib/Cake/Core/App.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Core/App.php b/lib/Cake/Core/App.php index 2cb23bdfe..d96f41829 100644 --- a/lib/Cake/Core/App.php +++ b/lib/Cake/Core/App.php @@ -538,6 +538,7 @@ class App { if (empty($plugin)) { $appLibs = empty(self::$_packages['Lib']) ? APPLIBS : current(self::$_packages['Lib']); $paths[] = $appLibs . $package . DS; + $paths[] = APP . $package . DS; $paths[] = CAKE . $package . DS; }