forked from mirror/pixelfed
Update Installer.php
This commit is contained in:
parent
fc811416f3
commit
a2090f5445
1 changed files with 1 additions and 0 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue