Closed martinsik closed 6 years ago
That's okay, @martinsik
Because it must not override with UTC
value when no dotenv's is found.
The app environment has other directives from PHP.INI and configure
/config
functions that should be respected too.
Any variable in your .env file can be overridden by external environment variables such as server-level or system-level environment variables.
Source at here.
Description:
Maybe I'm just blind but I didn't find any documentation regarding
APP_TIMEZONE
variable in.env
. I just noticed its behavior has changed recently between5.4.6
and5.4.7
and now it shouldn't override the default timezone.https://github.com/laravel/lumen-framework/blob/v5.4.6/src/Application.php#L83
https://github.com/laravel/lumen-framework/blob/v5.4.7/src/Application.php#L83