Fix for extending plugin's view

Signed-off-by: mark_story <mark@mark-story.com>
This commit is contained in:
Stefano Zoffoli 2012-01-31 15:25:15 +01:00 committed by mark_story
parent e8d3d7ce38
commit edeca2fd3c

View file

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