Skip to content

Commit e4feee6

Browse files
committed
Fix setting of environment variable
1 parent 1b9b92a commit e4feee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Console/Commands/Environment/AppSettingsCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ public function handle()
138138
);
139139

140140
if ($this->option('disable-settings-ui')) {
141-
$this->variables['APP_ENVIRONMENT_ONLY'] = true;
141+
$this->variables['APP_ENVIRONMENT_ONLY'] = 'true';
142142
} else {
143-
$this->variables['APP_ENVIRONMENT_ONLY'] = ! $this->confirm(trans('command/messages.environment.app.settings'), true);
143+
$this->variables['APP_ENVIRONMENT_ONLY'] = $this->confirm(trans('command/messages.environment.app.settings'), true) ? 'false' : 'true';
144144
}
145145

146146
$this->checkForRedis();

0 commit comments

Comments
 (0)