Updated AppConfigurer

This commit is contained in:
Carvallegro 2017-12-31 06:13:11 +11:00
parent c07cbd3623
commit feaa89e77f

View File

@ -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',