mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Add APP/Package to tested paths in App::load()
This commit is contained in:
parent
a275555297
commit
8ed4876830
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