?
? ????? PHP ??? ???? ??? ?? ??
void clear_compiled_tpl
(string
tpl_file)
This clears the compiled version of the specified template
resource, or all compiled template files if one is not specified. This
function is for advanced use only, not normally needed.
清除指定模板資源的編譯版本,如果不指定則清除所有已編譯模板。除非特殊的需要,一般情況下不需要使用該函數(shù)。
(Fwolf:這個(gè)函數(shù)并不會(huì)刪除模板本身,而是刪除templates_c目錄中存放的編譯后生成的文件,這些編譯后的文件會(huì)在下一次頁(yè)面調(diào)用的時(shí)候再
一次被生成。)
Example 13-9. clear_compiled_tpl
|