Adding base class import for view classes.

This commit is contained in:
mark_story 2010-09-08 00:10:36 -04:00
parent 2d86c1248f
commit fa9eb94fb0

View file

@ -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;
}