修改controller类的架构方法参数

This commit is contained in:
thinkphp
2015-12-18 10:41:46 +08:00
parent e5d08d8f0c
commit 097f993b32

View File

@@ -25,11 +25,10 @@ class Controller
protected $beforeActionList = [];
/**
* 架构函数 初始化视图类 并采用内置模板引擎
* 架构函数
* @access public
* @param array $config
*/
public function __construct($config = [])
public function __construct()
{
// 控制器初始化
if (method_exists($this, '_initialize')) {