From: Vincent Vanwaelscappel Date: Thu, 21 Sep 2023 08:42:40 +0000 (+0200) Subject: wip #4214 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9dd6df8ce66ca456dd6c23a408e778035aa20be4;p=fluidbook-toolbox.git wip #4214 @0.25 --- diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index bde47cf10..0d81f145f 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -2421,7 +2421,7 @@ class Compiler extends Base implements CompilerInterface $dir = protected_path('fluidbookpublication/cache/unzip') . '/' . Files::hashFileAttributes($zipPath) . '_' . ($moveAssets ? '1' : '0') . '_' . ($junkPaths ? '1' : '0'); if (!file_exists($dir)) { - mkdir($dir, 0777, true); + Files::mkdir($dir); Zip::extract($zipPath, $dir, $junkPaths); if ($moveAssets) { `mv $dir/Assets/* $dir`;