mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
View类增加config方法用于设置模板引擎参数 模板引擎驱动增加config接口方法
This commit is contained in:
@@ -132,4 +132,16 @@ class Php
|
||||
return $path . ltrim($template, '/') . '.' . ltrim($this->config['view_suffix'], '.');
|
||||
}
|
||||
|
||||
/**
|
||||
* 配置模板引擎
|
||||
* @access private
|
||||
* @param string|array $name 参数名
|
||||
* @param mixed $value 参数值
|
||||
* @return void
|
||||
*/
|
||||
public function config($name, $value = null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user