forked from Alex/Pterodactyl-Panel
Allow the environment setup without loading the database (settings provider) first (#823)
This commit is contained in:
parent
321d00c89e
commit
59b50ca75e
@ -5,6 +5,7 @@ APP_THEME=pterodactyl
|
||||
APP_TIMEZONE=America/New_York
|
||||
APP_CLEAR_TASKLOG=720
|
||||
APP_DELETE_MINUTES=10
|
||||
APP_ENVIRONMENT_ONLY=true
|
||||
APP_URL=
|
||||
|
||||
DB_HOST=127.0.0.1
|
||||
@ -13,7 +14,7 @@ DB_DATABASE=panel
|
||||
DB_USERNAME=pterodactyl
|
||||
DB_PASSWORD=
|
||||
|
||||
CACHE_DRIVER=
|
||||
CACHE_DRIVER=file
|
||||
SESSION_DRIVER=
|
||||
|
||||
HASHIDS_SALT=
|
||||
|
@ -135,6 +135,8 @@ class AppSettingsCommand extends Command
|
||||
self::ALLOWED_QUEUE_DRIVERS,
|
||||
array_key_exists($selected, self::ALLOWED_QUEUE_DRIVERS) ? $selected : null
|
||||
);
|
||||
|
||||
$this->variables['APP_ENVIRONMENT_ONLY'] = false;
|
||||
|
||||
$this->checkForRedis();
|
||||
$this->writeToEnvironment($this->variables);
|
||||
|
Loading…
Reference in New Issue
Block a user