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

Change base_path('lang') to lang_path() #1

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Change base_path('lang') to lang_path() #1

merged 2 commits into from
Mar 5, 2024

Conversation

kaiserkiwi
Copy link
Member

This pull request fixes a potential compatibility problem when the lang path is configured or based on a older version of Laravel.

- `base_path('lang/…')` is no longer needed and error-prone because of the change of the language path in Laravel 9
@kaiserkiwi kaiserkiwi added the enhancement An existing feature that just got better label Mar 5, 2024
@kaiserkiwi kaiserkiwi requested a review from Katalam March 5, 2024 13:30
@kaiserkiwi kaiserkiwi self-assigned this Mar 5, 2024
Katalam
Katalam previously requested changes Mar 5, 2024
src/Linguist.php Outdated Show resolved Hide resolved
@kaiserkiwi kaiserkiwi requested a review from Katalam March 5, 2024 13:42
@Katalam Katalam merged commit 03e8b76 into main Mar 5, 2024
2 of 14 checks passed
@Katalam Katalam deleted the lang_path branch March 5, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An existing feature that just got better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants