Replies: 1 comment
-
Hello, custom .env file seems not to be working for me (Just created this issue but in the wrong place I suspect 😅 ) |
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
-
According to
framework/src/Illuminate/Foundation/Console/ServeCommand.php
Lines 96 to 119 in 09c1c04
Only environment variables in the arrays will be set to original values, others will be set to false. Why other environment variables are set to false?
And as a lot of people noticed, the command is not working properly on windows. It will fail with "reason ?". However, if I change the callback function to just
return [$key => $value]
, the serve command will run properly. Why is that and can it be changed to just return the original key value pairs?Beta Was this translation helpful? Give feedback.
All reactions