mardi 11 août 2020

How to make Laravel read .env file again?

I'm changing Laravel .env variable after a process, and checking that variable everytime, if it's true code doing one thing, if it's false another thing. But after changing the .env variable I have to restart with php artisan serve, I don't want to do this. Why Laravel does not read the new env variable, it changes on the .env file itself.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3gP0kh9
via IFTTT

Aucun commentaire:

Enregistrer un commentaire