fix for thtml custom missingView

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3976 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2006-11-26 00:10:59 +00:00
parent 9ad12b1f4e
commit 3bcf9e6044

View file

@ -313,6 +313,8 @@ class View extends Object {
if (file_exists(VIEWS . $viewDir . DS . $errorAction . $this->ext)) {
$missingViewFileName = VIEWS . $viewDir . DS . $errorAction . $this->ext;
} elseif (file_exists(VIEWS . $viewDir . DS . $errorAction . '.thtml')) {
$missingViewFileName = VIEWS . $viewDir . DS . $errorAction . '.thtml';
} elseif($missingViewFileName = fileExistsInPath(LIBS . 'view' . DS . 'templates' . DS . $viewDir . DS . $errorAction . '.ctp')) {
} else {
$missingViewFileName = false;