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

这个位置的代码会导致首页不使用自定义路由问题,这个位置判断一下 is_dir 再去 setRoutePath 会比较合理一些 #33

Open
usheweb opened this issue Jun 8, 2021 · 0 comments

Comments

@usheweb
Copy link

usheweb commented Jun 8, 2021

$this->app->http->setRoutePath($this->getRoutePath());

这个位置的代码会导致首页不使用自定义路由问题,这个位置判断一下 is_dir 再去 setRoutePath 会比较合理一些,/ 这个首页路由得去index下创建route目录才能解决。所以应该加个判断,目录存在再去 setRoutePath

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

No branches or pull requests

1 participant