mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修正Controller类的engine方法
This commit is contained in:
@@ -122,13 +122,12 @@ class Controller
|
|||||||
/**
|
/**
|
||||||
* 初始化模板引擎
|
* 初始化模板引擎
|
||||||
* @access protected
|
* @access protected
|
||||||
* @param string $engine 引擎名称
|
* @param array|string $engine 引擎参数
|
||||||
* @param array $config 引擎参数
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function engine($engine, $config = [])
|
public function engine($engine)
|
||||||
{
|
{
|
||||||
$this->view->engine($engine, $config);
|
$this->view->engine($engine);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user