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