From 9dd6df8ce66ca456dd6c23a408e778035aa20be4 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 21 Sep 2023 10:42:40 +0200 Subject: [PATCH] wip #4214 @0.25 --- app/Fluidbook/Compiler/Compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`; -- 2.39.5