From e4feee69329f1dc1473d49bdb6b16a7b92637a46 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 30 Dec 2017 16:34:22 -0600 Subject: [PATCH] Fix setting of environment variable --- app/Console/Commands/Environment/AppSettingsCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Environment/AppSettingsCommand.php b/app/Console/Commands/Environment/AppSettingsCommand.php index c3ad1cfc9..ecf171adc 100644 --- a/app/Console/Commands/Environment/AppSettingsCommand.php +++ b/app/Console/Commands/Environment/AppSettingsCommand.php @@ -138,9 +138,9 @@ class AppSettingsCommand extends Command ); if ($this->option('disable-settings-ui')) { - $this->variables['APP_ENVIRONMENT_ONLY'] = true; + $this->variables['APP_ENVIRONMENT_ONLY'] = 'true'; } else { - $this->variables['APP_ENVIRONMENT_ONLY'] = ! $this->confirm(trans('command/messages.environment.app.settings'), true); + $this->variables['APP_ENVIRONMENT_ONLY'] = $this->confirm(trans('command/messages.environment.app.settings'), true) ? 'false' : 'true'; } $this->checkForRedis();