mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Adding base class import for view classes.
This commit is contained in:
parent
2d86c1248f
commit
fa9eb94fb0
1 changed files with 1 additions and 0 deletions
|
@ -1120,6 +1120,7 @@ class App {
|
|||
return array('class' => null, 'suffix' => null, 'path' => $path);
|
||||
break;
|
||||
case 'view':
|
||||
App::import('View', 'View', false);
|
||||
if ($plugin) {
|
||||
$path = $pluginPath . DS . 'views' . DS;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue