visuddhinanda 2 лет назад
Родитель
Сommit
1b30798579
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/Console/Commands/ExportOffline.php

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

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