PbootCMS 测试版已经加入了静态html生成功能,在调试的时候发现有提示模版文件不存在的情况,但是伪静态时却是正常的。

具体调试方法

文件路径core/view/View.php,第116行

file_exists($tpl_file) ?: error('模板文件' . basename($tpl_file) . '不存在!' . $note);
//修改为如下
file_exists($tpl_file) ?: error('模板文件' . $tpl_file . '不存在!' . $note);