mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Fix setting of environment variable
This commit is contained in:
parent
1b9b92ac62
commit
e4feee6932
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user