die if missing php-zip
This commit is contained in:
parent
d25aea38fb
commit
7ba8ea6dd4
1 changed files with 6 additions and 1 deletions
|
@ -50,7 +50,12 @@ class AppServiceProvider extends ServiceProvider
|
|||
|
||||
$applications = Application::all();
|
||||
if($applications->count() <= 0) {
|
||||
ProcessApps::dispatch();
|
||||
if (class_exists('ZipArchive')) {
|
||||
ProcessApps::dispatch();
|
||||
} else {
|
||||
die("You are missing php-zip");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(!is_file(public_path('storage'))) {
|
||||
|
|
Loading…
Add table
Reference in a new issue