[0] TemplateNotFoundException in Template.php line 1086

模板文件不存在:/www/wwwroot/yzhengdu.com/template/default/index/public_header.html

  1. }
  2. $template = $path . $template . '.' . ltrim($this->config['view_suffix'], '.');
  3. }
  4. if (is_file($template)) {
  5. // 记录模板文件的更新时间
  6. $this->includeFile[$template] = filemtime($template);
  7. return $template;
  8. } else {
  9. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  10. }
  11. }
  12. /**
  13. * 按标签生成正则
  14. * @access private
  15. * @param string $tagName 标签名
  16. * @return string
  17. */