Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正多应用路由读取路径 #2992

Open
wants to merge 1 commit into
base: 8.x
Choose a base branch
from

Conversation

big-dream
Copy link
Contributor

@big-dream big-dream commented Mar 27, 2024

现在 输出路由定义 命令的路由读取与实际和文档的不一致,导致无法正确输出多应用的路由定义。

多应用扩展中,路由配置路径为 $this->app->getAppPath() . 'route' . DIRECTORY_SEPARATOR
https://github.com/top-think/think-multi-app/blob/master/src/MultiApp.php#L55-L63

官方文档中的路径也是应用目录下的 route 目录
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

多应用模式下php think route:list问题 TP6.0.0 多应用模式下,命令行输出路由定义异常
1 participant