From b7c1f240c595bb77c28817aeeaef371b43b44e4d Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 26 Mar 2022 17:00:24 +0100 Subject: [PATCH] wip #5179 --- app/Http/Controllers/Tools/FluidbookDownload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Tools/FluidbookDownload.php b/app/Http/Controllers/Tools/FluidbookDownload.php index 06b4da0..51f570e 100644 --- a/app/Http/Controllers/Tools/FluidbookDownload.php +++ b/app/Http/Controllers/Tools/FluidbookDownload.php @@ -3,12 +3,13 @@ namespace App\Http\Controllers\Tools; use App\Jobs\ProcessFluidbook; +use Cubist\Util\Zip; trait FluidbookDownload { protected function fluidbookdownload($args) { - ProcessFluidbook::dispatchSync(); + //ProcessFluidbook::dispatchSync(); $p = storage_path('fluidbook.zip'); Zip::archive(storage_path('fluidbook/out'), $p); return response(null)->header('Content-Disposition', 'attachment;filename=package.zip')->header('Content-Type', Files::_getMimeType($p))->header('X-Sendfile', $p); -- 2.39.5