mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-03-09 13:52:32 +00:00
Update Installer.php
This commit is contained in:
parent
51eeb26185
commit
56ebd8c06c
1 changed files with 0 additions and 6 deletions
|
@ -111,12 +111,6 @@ class Installer extends Command
|
||||||
|
|
||||||
protected function envCreate()
|
protected function envCreate()
|
||||||
{
|
{
|
||||||
if( $this->option('dangerously-overwrite-env') ) {
|
|
||||||
$this->line('');
|
|
||||||
$this->error('Existing .env File Found - Renaming to .env.danger');
|
|
||||||
exec('cp .env .env.danger');
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->line('');
|
$this->line('');
|
||||||
$this->info('Creating .env if required');
|
$this->info('Creating .env if required');
|
||||||
if(!file_exists(app()->environmentFilePath())) {
|
if(!file_exists(app()->environmentFilePath())) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue