From feaa89e77f89ff01f69acab7a994fea228a7b2c2 Mon Sep 17 00:00:00 2001 From: Carvallegro Date: Sun, 31 Dec 2017 06:13:11 +1100 Subject: [PATCH] Updated AppConfigurer --- app/Utilities/AppConfigurer.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/Utilities/AppConfigurer.php b/app/Utilities/AppConfigurer.php index 501ba10b9..b99a22ff9 100644 --- a/app/Utilities/AppConfigurer.php +++ b/app/Utilities/AppConfigurer.php @@ -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',