mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-02 15:49:48 +00:00
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:
commit
c47fe3e2ef
1 changed files with 1 additions and 0 deletions
|
@ -538,6 +538,7 @@ class App {
|
||||||
if (empty($plugin)) {
|
if (empty($plugin)) {
|
||||||
$appLibs = empty(self::$_packages['Lib']) ? APPLIBS : current(self::$_packages['Lib']);
|
$appLibs = empty(self::$_packages['Lib']) ? APPLIBS : current(self::$_packages['Lib']);
|
||||||
$paths[] = $appLibs . $package . DS;
|
$paths[] = $appLibs . $package . DS;
|
||||||
|
$paths[] = APP . $package . DS;
|
||||||
$paths[] = CAKE . $package . DS;
|
$paths[] = CAKE . $package . DS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue