Browse Source

die if missing php-zip

pull/308/head
Kode 6 years ago
parent
commit
7ba8ea6dd4
  1. 7
      app/Providers/AppServiceProvider.php

7
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'))) {

Loading…
Cancel
Save