diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index de2f1095..832ab2b5 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -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'))) {