From e100cff3de005c161202ea511c64ee06ecf383b8 Mon Sep 17 00:00:00 2001 From: Sergio Brighenti Date: Thu, 9 Apr 2020 13:10:54 +0200 Subject: [PATCH] Added check in the installer --- install/index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/index.php b/install/index.php index 80e93b1..10841ab 100644 --- a/install/index.php +++ b/install/index.php @@ -78,6 +78,10 @@ $app->get('/', function (Response $response, View $view, Session $session) use ( $session->alert('The required "fileinfo" extension is not loaded.', 'danger'); } + if (!extension_loaded('zip')) { + $session->alert('The required "zip" extension is not loaded.', 'danger'); + } + if (!is_writable(__DIR__.'/../resources/cache')) { $session->alert('The cache folder is not writable ('.__DIR__.'/../resources/cache'.')', 'danger'); }