]> _ Git - fluidbook-toolbox.git/commitdiff
wip #4214 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 21 Sep 2023 08:42:40 +0000 (10:42 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 21 Sep 2023 08:42:40 +0000 (10:42 +0200)
app/Fluidbook/Compiler/Compiler.php

index bde47cf10d764aa821f7160fa3d6840391cb3740..0d81f145f47ea3ac478204716bcd3f0144e85e94 100644 (file)
@@ -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`;