From f808d0462aaf85c27a22bc804eb9fa9e29521b40 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 21 Nov 2023 20:29:50 +0100 Subject: [PATCH] wip #6501 @0:20 --- app/Models/FluidbookDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/FluidbookDocument.php b/app/Models/FluidbookDocument.php index 7ea25ab6b..a42932bdf 100644 --- a/app/Models/FluidbookDocument.php +++ b/app/Models/FluidbookDocument.php @@ -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) { -- 2.39.5