PHP - Manual: Yaf_View_Interface::setScriptPath
2025-02-27
(Yaf >=1.0.0)
Yaf_View_Interface::setScriptPath — The setScriptPath purpose
template_dir
模板目录的绝对路径,默认的 Yaf_Dispatcher 会设置此目录为 application.directory . "/views"。
官方地址:https://www.php.net/manual/en/yaf-view-interface.setscriptpath.php