mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update Installer command
This commit is contained in:
parent
49d60edac9
commit
7248196d31
1 changed files with 2 additions and 2 deletions
|
@ -98,9 +98,9 @@ class Installer extends Command
|
||||||
$this->error("- {$ext} extension not found, aborting installation");
|
$this->error("- {$ext} extension not found, aborting installation");
|
||||||
exit;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
$this->info("- {$ext} extension found!");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$this->info("- Required PHP extensions found!");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function checkPermissions()
|
protected function checkPermissions()
|
||||||
|
@ -127,7 +127,7 @@ class Installer extends Command
|
||||||
|
|
||||||
protected function envCheck()
|
protected function envCheck()
|
||||||
{
|
{
|
||||||
if(!file_exists(base_path('.env'))) {
|
if(!file_exists(base_path('.env')) || filesize(base_path('.env')) == 0) {
|
||||||
$this->line('');
|
$this->line('');
|
||||||
$this->info('No .env configuration file found. We will create one now!');
|
$this->info('No .env configuration file found. We will create one now!');
|
||||||
$this->createEnv();
|
$this->createEnv();
|
||||||
|
|
Loading…
Add table
Reference in a new issue