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

src/Bootstrap.php 重复获取配置 #1

Open
JinBorn opened this issue Dec 31, 2024 · 0 comments
Open

src/Bootstrap.php 重复获取配置 #1

JinBorn opened this issue Dec 31, 2024 · 0 comments

Comments

@JinBorn
Copy link

JinBorn commented Dec 31, 2024

src/Bootstrap.php 106行重复获取配置,可以优化一下

if (App::config('use')->get('lang')) {
    $lang = App::config('use')->get('lang');
}
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