Allow the environment setup without loading the database (settings provider) first (#823)

This commit is contained in:
Lance Pioch 2017-12-30 17:16:49 -05:00 committed by Dane Everitt
parent 321d00c89e
commit 59b50ca75e
2 changed files with 4 additions and 1 deletions

View File

@ -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=

View File

@ -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);