From 7248196d3182c00741033e7a40b6263c891e2790 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 16 Jun 2019 16:13:06 -0600 Subject: [PATCH] Update Installer command --- app/Console/Commands/Installer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Installer.php b/app/Console/Commands/Installer.php index 299d31313..aea9d5e4e 100644 --- a/app/Console/Commands/Installer.php +++ b/app/Console/Commands/Installer.php @@ -98,9 +98,9 @@ class Installer extends Command $this->error("- {$ext} extension not found, aborting installation"); exit; } else { - $this->info("- {$ext} extension found!"); } } + $this->info("- Required PHP extensions found!"); } protected function checkPermissions() @@ -127,7 +127,7 @@ class Installer extends Command protected function envCheck() { - if(!file_exists(base_path('.env'))) { + if(!file_exists(base_path('.env')) || filesize(base_path('.env')) == 0) { $this->line(''); $this->info('No .env configuration file found. We will create one now!'); $this->createEnv();