[0] HttpException in App.php line 347
模块不存在:hello_world
$available = true;
}
// 模块初始化
if ($module && $available) {
// 初始化模块
$request->module($module);
$config = self::init($module);
} else {
throw new HttpException(404, 'module not exists:' . $module);
}
} else {
// 单一模块部署
$module = '';
$request->module($module);
}
// 当前模块路径
App::$modulePath = APP_PATH . ($module ? $module . DS : '');
Call Stack
in App.php line 347
at App::module(['hello_world', 'index', null], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 138
at App::run() in start.php line 18
at require('/Users/leo/CodeSpace...') in index.php line 17
最佳答案