From 097f993b328d5ede95f606e5865628e94dc74dfc Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 18 Dec 2015 10:41:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9controller=E7=B1=BB=E7=9A=84?= =?UTF-8?q?=E6=9E=B6=E6=9E=84=E6=96=B9=E6=B3=95=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/controller.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/library/think/controller.php b/library/think/controller.php index 7c2dad9d..35b44194 100644 --- a/library/think/controller.php +++ b/library/think/controller.php @@ -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')) {