mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
"Fixes #4436, App::import() loads wrong file"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6643 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
89c8467e89
commit
8a5505bdcc
1 changed files with 1 additions and 1 deletions
|
@ -830,7 +830,7 @@ class App extends Object {
|
|||
}
|
||||
}
|
||||
|
||||
if (empty($search) && $_this->__load($file)) {
|
||||
if (strtolower($type) !== 'vendor' && empty($search) && $_this->__load($file)) {
|
||||
$directory = false;
|
||||
} else {
|
||||
$file = $find;
|
||||
|
|
Loading…
Reference in a new issue