From: Vincent Vanwaelscappel Date: Mon, 31 Jan 2022 14:13:14 +0000 (+0100) Subject: wait #5045 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d59ad370ec7c47a86ba1e0b37c3378776a038c3e;p=cubist_util.git wait #5045 @0:10 --- diff --git a/src/Zip.php b/src/Zip.php index 667fe40..dcc3165 100644 --- a/src/Zip.php +++ b/src/Zip.php @@ -40,6 +40,9 @@ class Zip { $zipexe = 'zip'; + $dir=dirname($zip); + Files::mkdir($dir); + if (!is_numeric($compression)) { $compression = 0; }