mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
增加template.auto_rule 配置参数 设置默认模板渲染的转换处理规则 1 为小写+下划线 其它为 完全转换小写
This commit is contained in:
@@ -117,10 +117,6 @@ class Controller
|
||||
*/
|
||||
protected function fetch($template = '', $vars = [], $replace = [], $config = [])
|
||||
{
|
||||
if ('' === $template) {
|
||||
$template = Loader::parseName($this->request->action(true));
|
||||
}
|
||||
|
||||
return $this->view->fetch($template, $vars, $replace, $config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user