cache announce userInfo

This commit is contained in:
xiaomlove
2022-03-19 19:51:23 +08:00
parent 4857b799b8
commit a5ea51de55
9 changed files with 17 additions and 6 deletions

View File

@@ -425,6 +425,9 @@ class Install
$this->doLog("[CREATE ENV] key: $key, new value: $value from example.");
$newData[$key] = $value;
}
if ($key == 'CACHE_DRIVER') {
$newData[$key] = 'redis';
}
if ($scene == 'install' || !file_exists($envFile)) {
if ($key == 'APP_ENV') {
$newData[$key] = 'production';