Merge pull request #2048 from shleeable/patch-2

typo in installer.php
This commit is contained in:
daniel 2020-02-22 21:04:14 -07:00 committed by GitHub
commit 891600752e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,7 +197,7 @@ class Installer extends Command
$this->updateEnvFile('CACHE_DRIVER', $cache ?? 'redis'); $this->updateEnvFile('CACHE_DRIVER', $cache ?? 'redis');
$session = $this->choice('Select session driver', ["redis", "file", "cookie", "database", "apc", "memcached", "array"], 0); $session = $this->choice('Select session driver', ["redis", "file", "cookie", "database", "apc", "memcached", "array"], 0);
$this->updateEnvFile('SESSION_DRIVER', $cache ?? 'redis'); $this->updateEnvFile('SESSION_DRIVER', $session ?? 'redis');
$redis_host = $this->ask('Set redis host', 'localhost'); $redis_host = $this->ask('Set redis host', 'localhost');
$this->updateEnvFile('REDIS_HOST', $redis_host); $this->updateEnvFile('REDIS_HOST', $redis_host);