]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6501 @0:20
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 21 Nov 2023 19:29:50 +0000 (20:29 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 21 Nov 2023 19:29:50 +0000 (20:29 +0100)
app/Models/FluidbookDocument.php

index 7ea25ab6b09d9e32ad920fb688613925aaa5769c..a42932bdfc138a43cdc93f5c15f30b2d6e9bb7b8 100644 (file)
@@ -215,7 +215,7 @@ class FluidbookDocument extends ToolboxModel
             }
         }
 
-        $base = 'fluidbookpublication/docs';
+        $base = 'fluidbookpublication/docs/' . $this->id . '/' . $path;
         $res = Files::mkdir($this->region == 'UE' ? protected_path($base) : us_protected_path($base));
 
         if ($fname) {