Procházet zdrojové kódy

disk('local')->url

visuddhinanda před 2 roky
rodič
revize
ae5699bf77
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/Console/Commands/ExportOffline.php

+ 1 - 1
app/Console/Commands/ExportOffline.php

@@ -93,7 +93,7 @@ class ExportOffline extends Command
 
 
         $info = array();
         $info = array();
         $info[] = ['filename'=>$zipFile,
         $info[] = ['filename'=>$zipFile,
-                   'url'=>Storage::url($exportPath.'/'.$zipFile),
+                   'url'=>Storage::disk('local')->url($exportPath.'/'.$zipFile),
                    'create_at'=>date("Y-m-d H:i:s"),
                    'create_at'=>date("Y-m-d H:i:s"),
                    'chapter'=>Cache::get("/export/chapter/count"),
                    'chapter'=>Cache::get("/export/chapter/count"),
                    'filesize'=>filesize($zipFullFileName),
                    'filesize'=>filesize($zipFullFileName),