mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix for extending plugin's view
Signed-off-by: mark_story <mark@mark-story.com>
This commit is contained in:
parent
e8d3d7ce38
commit
edeca2fd3c
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ class View extends Object {
|
|||
$name = trim($name, DS);
|
||||
} else if ($name[0] === '.') {
|
||||
$name = substr($name, 3);
|
||||
} else {
|
||||
} elseif (!$plugin) {
|
||||
$name = $this->viewPath . DS . $subDir . $name;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue