自定义后台公共模板:调用其他方法显示模板不存在是什么原因呀?

浏览:1696 发布日期:2018/02/02 分类:求助交流 关键字: 模板 公共模板 模板不存在
各位大神,有人知道这是怎么回事吗?
[0] TemplateNotFoundException in E:\phpstudy\www\wolves\thinkphp\library\think\Template.php line 1084
模板文件不存在:
}
$template = realpath($path . $template . '.' . ltrim($this->config['view_suffix'], '.'));
}

if (is_file($template)) {
// 记录模板文件的更新时间
$this->includeFile[$template] = filemtime($template);
return $template;
} else {
throw new TemplateNotFoundException('template not exists:' . $template, $template);
}
}

/**
* 按标签生成正则
* @access private
* @param string $tagName 标签名
* @return string
*/

附件 1517566078(1).png ( 32.99 KB 下载:11 次 )

最佳答案
评论( 相关
后面还有条评论,点击查看>>