update .env when run nexus:update

This commit is contained in:
xiaomlove
2025-09-22 20:58:08 +07:00
parent 5cec527a12
commit ba1cc0f2bd
2 changed files with 12 additions and 5 deletions
+3 -5
View File
@@ -127,11 +127,9 @@ class NexusUpdate extends Command
$this->doLog("Error: Redis version: {$mysqlInfo['version']} is too low, please use {$minVersion} or above.", 'error');
return 0;
}
if ($includeComposer) {
$this->doLog("going to update .env file ...");
$this->update->updateEnvFile();
$this->doLog("update .env file done!");
}
$this->doLog("going to update .env file ...");
$this->update->updateEnvFile();
$this->doLog("update .env file done!");
$this->doLog("going to createSymbolicLinks...");
$this->update->createSymbolicLinks($symbolicLinks);