]> _ Git - odl.git/commitdiff
wip #5179
authorvincent <vincent@enhydra.fr>
Sat, 26 Mar 2022 16:00:24 +0000 (17:00 +0100)
committervincent <vincent@enhydra.fr>
Sat, 26 Mar 2022 16:00:24 +0000 (17:00 +0100)
app/Http/Controllers/Tools/FluidbookDownload.php

index 06b4da0d94271de774b2e1c346a3994c02c95972..51f570e20c3ca6e47fce49e4cf4388ba2c4433bc 100644 (file)
@@ -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);