diff --git a/Application/Home/Controller/AddonsController.class.php b/Application/Home/Controller/AddonsController.class.php index 2d2a72331..c2d7a6bc3 100644 --- a/Application/Home/Controller/AddonsController.class.php +++ b/Application/Home/Controller/AddonsController.class.php @@ -16,6 +16,7 @@ use Think\Controller; */ class AddonsController extends Controller{ + public function _initialize(){ /* 读取数据库中的配置 */ $config = S('DB_CONFIG_DATA');