From 1438a50ae9af326c8a16a14cc13f9e643aa60602 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 4 Nov 2017 16:46:18 -0500 Subject: [PATCH] More fixes --- app/Console/Commands/Environment/AppSettingsCommand.php | 2 +- config/database.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Environment/AppSettingsCommand.php b/app/Console/Commands/Environment/AppSettingsCommand.php index ddacad826..e197c9957 100644 --- a/app/Console/Commands/Environment/AppSettingsCommand.php +++ b/app/Console/Commands/Environment/AppSettingsCommand.php @@ -153,7 +153,7 @@ class AppSettingsCommand extends Command } if (empty($this->variables['REDIS_PASSWORD'])) { - unset($this->variables['REDIS_PASSWORD']); + $this->variables['REDIS_PASSWORD'] = 'null'; } $this->variables['REDIS_PORT'] = $this->option('redis-port') ?? $this->ask( diff --git a/config/database.php b/config/database.php index 998f95d4d..ee865cf6e 100644 --- a/config/database.php +++ b/config/database.php @@ -41,7 +41,7 @@ return [ 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', - 'strict' => env('DB_STRICT_MODE', true), + 'strict' => env('DB_STRICT_MODE', false), ], ],