mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
异常类规范 增加异常类 改进Query类的value和column的缓存冲突问题
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
|
||||
namespace think;
|
||||
|
||||
use think\exception\TemplateNotFoundException;
|
||||
|
||||
/**
|
||||
* ThinkPHP分离出来的模板引擎
|
||||
* 支持XML标签和普通标签的模板解析
|
||||
@@ -1066,7 +1068,7 @@ class Template
|
||||
$this->includeFile[$template] = filemtime($template);
|
||||
return $template;
|
||||
} else {
|
||||
throw new Exception('template not exist:' . $template, 10700);
|
||||
throw new TemplateNotFoundException('template not exist:' . $template);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user