错误编码

This commit is contained in:
thinkphp
2015-12-12 08:16:59 +08:00
parent 28508f690a
commit af19146ec0
8 changed files with 19 additions and 17 deletions

View File

@@ -133,7 +133,7 @@ class View
$template = $this->parseTemplate($template);
// 模板不存在 抛出异常
if (!is_file($template)) {
throw new Exception('template file not exists:' . $template);
throw new Exception('template file not exists:' . $template, 10700);
}
}
$vars = $vars ? $vars : $this->data;