tinkphp5上传到服务器提示模板不存在是什么原因

浏览:2681 发布日期:2016/10/10 分类:求助交流
template not exists:/mnt/vdb1/virtualhost/e661b4a473/gmt/public/../application/index/view/index/index.html
*/
public function fetch($template, $data = [], $config = [])
{
if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
// 获取模板文件名
$template = $this->parseTemplate($template);
}
// 模板不存在 抛出异常
if (!is_file($template)) {
throw new TemplateNotFoundException('template not exists:' . $template, $template);
}
最佳答案
评论( 相关
后面还有条评论,点击查看>>