Skip to content

Commit

Permalink
Also update .env.example (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Dec 20, 2021
1 parent c60773f commit bdb8c75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ protected function replaceEnvVariables(array $services)
}

file_put_contents($this->laravel->basePath('.env'), $environment);
file_put_contents($this->laravel->basePath('.env.example'), $environment);
}

/**
Expand All @@ -170,5 +171,6 @@ protected function installDevContainer()
$environment .= "\nWWWUSER=1000\n";

file_put_contents($this->laravel->basePath('.env'), $environment);
file_put_contents($this->laravel->basePath('.env.example'), $environment);
}
}

0 comments on commit bdb8c75

Please sign in to comment.