Updated AppConfigurer
This commit is contained in:
parent
c07cbd3623
commit
feaa89e77f
@ -92,7 +92,6 @@ class AppConfigurer {
|
||||
return $requirements;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create a default .env file.
|
||||
*
|
||||
@ -110,6 +109,10 @@ class AppConfigurer {
|
||||
'key' => 'APP_ENV',
|
||||
'value' => 'production',
|
||||
],
|
||||
[
|
||||
'key' => 'APP_LOCALE',
|
||||
'value' => 'en-GB',
|
||||
],
|
||||
[
|
||||
'key' => 'APP_INSTALLED',
|
||||
'value' => 'false',
|
||||
@ -345,6 +348,10 @@ class AppConfigurer {
|
||||
{
|
||||
// Update .env file
|
||||
DotenvEditor::setKeys([
|
||||
[
|
||||
'key' => 'APP_LOCALE',
|
||||
'value' => session('locale'),
|
||||
],
|
||||
[
|
||||
'key' => 'APP_INSTALLED',
|
||||
'value' => 'true',
|
||||
|
Loading…
x
Reference in New Issue
Block a user