mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修改controller类的架构方法参数
This commit is contained in:
@@ -25,11 +25,10 @@ class Controller
|
|||||||
protected $beforeActionList = [];
|
protected $beforeActionList = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 架构函数 初始化视图类 并采用内置模板引擎
|
* 架构函数
|
||||||
* @access public
|
* @access public
|
||||||
* @param array $config
|
|
||||||
*/
|
*/
|
||||||
public function __construct($config = [])
|
public function __construct()
|
||||||
{
|
{
|
||||||
// 控制器初始化
|
// 控制器初始化
|
||||||
if (method_exists($this, '_initialize')) {
|
if (method_exists($this, '_initialize')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user