Merge pull request #453 from rintaun/patch-3

Add APP/Package base path to check in App::load().

Fixes issue #2482
This commit is contained in:
Mark Story 2012-01-30 17:34:56 -08:00
commit c47fe3e2ef

View file

@ -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;
}