Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #453 from rintaun/patch-3

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

Fixes issue #2482
  • Loading branch information...
commit c47fe3e2efd6900095a7bfb4a0a799766dbb1637 2 parents a275555 + 8ed4876
@markstory markstory authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Cake/Core/App.php
View
1  lib/Cake/Core/App.php
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.