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

Removed getenv feature (unsafe in Laravel 8 / dotenv 5.x) #17

Merged
merged 1 commit into from
Oct 21, 2020

Conversation

davidrushton
Copy link
Member

getenv function is no longer safe in Laravel 7 / DotEnv 5.x - https://github.com/vlucas/phpdotenv#putenv-and-getenv.

Switched to using $_ENV with PHP >= 7 null coalesce operator.

@davidrushton davidrushton linked an issue Oct 21, 2020 that may be closed by this pull request
@Bluefitdev
Copy link

It worked!

@davidrushton davidrushton merged commit 32cb8a9 into master Oct 21, 2020
@davidrushton davidrushton deleted the hotfix/laravel-8-getenv branch January 13, 2022 08:45
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.

Deployment path does not begin with /
2 participants