修正App类

This commit is contained in:
thinkphp
2016-06-02 11:10:19 +08:00
parent bf7e974fae
commit ee9d5df56f

View File

@@ -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 ');
}