diff --git a/library/think/App.php b/library/think/App.php index fe07ebbe..37e664b9 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -245,7 +245,7 @@ class App // 模块初始化 if ($module && $available) { // 初始化模块 - $config = self::initModule($module, $config); + $config = self::init($module, $config); } else { throw new HttpException(404, 'module [ ' . $module . ' ] not exists '); }