Fix setting of environment variable

This commit is contained in:
Dane Everitt 2017-12-30 16:34:22 -06:00
parent 1b9b92ac62
commit e4feee6932
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -138,9 +138,9 @@ class AppSettingsCommand extends Command
); );
if ($this->option('disable-settings-ui')) { if ($this->option('disable-settings-ui')) {
$this->variables['APP_ENVIRONMENT_ONLY'] = true; $this->variables['APP_ENVIRONMENT_ONLY'] = 'true';
} else { } 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(); $this->checkForRedis();