From: Vincent Vanwaelscappel Date: Tue, 29 Mar 2022 10:03:06 +0000 (+0200) Subject: wip #5184 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c693d579291873c5456a9fb3785e63dd4bd734ce;p=cubist_util.git wip #5184 @0.25 --- diff --git a/src/Zip.php b/src/Zip.php index 546db44..85aee80 100644 --- a/src/Zip.php +++ b/src/Zip.php @@ -79,6 +79,9 @@ class Zip } else if (@is_dir($source)) { $cl->cd($source); $cl->setArg($compression); + if (file_exists($zip)) { + $cl->setManualArg('-FS'); + } $cl->setArg('r'); $cl->setArg(null, $zip); $cl->setArg(null, '*');