diff --git a/.env.example b/.env.example index 5a2dd4dbf..c4a943e51 100644 --- a/.env.example +++ b/.env.example @@ -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= diff --git a/app/Console/Commands/Environment/AppSettingsCommand.php b/app/Console/Commands/Environment/AppSettingsCommand.php index 8f27d1adb..fb74e84a1 100644 --- a/app/Console/Commands/Environment/AppSettingsCommand.php +++ b/app/Console/Commands/Environment/AppSettingsCommand.php @@ -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);