使用TP模板引擎時,include引用公共文件不生效,好像Template里面的include,block,extend這些都不生效了,在模板里面沒有進行編譯就直接輸出了
加在view.options下
'tpl_begin' => '{', 'tpl_end' => '}',
明白了,謝謝