lundi 30 juillet 2018

How to change config variable

I created a router where I output config information

dd config

I'm trying to change value from .env file, for example APP_NAME, from APP_NAME="Nuxt + Laravel" to APP_NAME="test" but the change is not displayed on the page!(of course I reloaded the page 😊)

I was trying to look through php artisan tinker tinker

It works! But my config remains the same. I can not solve this problem for a week now.

I cleared the cache!!! I tried php artisan cache:clear, php artisan config:clear

CACHE_DRIVER=file

I deleted files bootsprap/cache/*, storage/framework/cache/*.

I tried everything!!!

I have this project on the github: https://github.com/iliyaZelenko/laravel-nuxt. Please help me, I want my project to be used by other people.



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

Aucun commentaire:

Enregistrer un commentaire