Permalink
Browse files

Add APP/Package to tested paths in App::load()

  • Loading branch information...
1 parent a275555 commit 8ed4876830546593f20db6c7e9aed299aa76a80a @rintaun rintaun committed Jan 30, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Core/App.php
View
@@ -538,6 +538,7 @@ public static function load($className) {
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;
}

0 comments on commit 8ed4876

Please sign in to comment.