mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修正App类
This commit is contained in:
@@ -245,7 +245,7 @@ class App
|
|||||||
// 模块初始化
|
// 模块初始化
|
||||||
if ($module && $available) {
|
if ($module && $available) {
|
||||||
// 初始化模块
|
// 初始化模块
|
||||||
$config = self::initModule($module, $config);
|
$config = self::init($module, $config);
|
||||||
} else {
|
} else {
|
||||||
throw new HttpException(404, 'module [ ' . $module . ' ] not exists ');
|
throw new HttpException(404, 'module [ ' . $module . ' ] not exists ');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user