Update Installer.php

This commit is contained in:
Shlee 2022-06-15 19:32:51 +09:30 committed by GitHub
parent fc811416f3
commit a2090f5445
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,6 +112,7 @@ class Installer extends Command
protected function envCreate()
{
$this->line('');
$this->info('Creating .env if required');
if(!file_exists(app()->environmentFilePath())) {
exec('cp .env.example .env');
}