Skip to content

Commit

Permalink
Updated AppConfigurer
Browse files Browse the repository at this point in the history
  • Loading branch information
carvallegro committed Dec 30, 2017
1 parent c07cbd3 commit feaa89e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/Utilities/AppConfigurer.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ public static function checkServerRequirements()
return $requirements;
}


/**
* Create a default .env file.
*
Expand All @@ -110,6 +109,10 @@ public static function createDefaultEnvFile()
'key' => 'APP_ENV',
'value' => 'production',
],
[
'key' => 'APP_LOCALE',
'value' => 'en-GB',
],
[
'key' => 'APP_INSTALLED',
'value' => 'false',
Expand Down Expand Up @@ -345,6 +348,10 @@ public static function finalTouches()
{
// Update .env file
DotenvEditor::setKeys([
[
'key' => 'APP_LOCALE',
'value' => session('locale'),
],
[
'key' => 'APP_INSTALLED',
'value' => 'true',
Expand Down

0 comments on commit feaa89e

Please sign in to comment.