Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This lead to inconsistency and unpredictable behaviour. For example
shell -> export APP_NAME=Testing
config.php -> 'name' => env('APP_NAME', 'Laravel'),
echo config('app.name'); // Testing
php artisan config:cache
echo config('app.name'); // Laravel
Shouldn't cache:config command merge both values - first check if it wasn't overridden - if so, use it, if empty use value from .env?
Beta Was this translation helpful? Give feedback.
All reactions