Преглед на файлове

log >> 'upload file='.$tmpFile

visuddhinanda преди 2 години
родител
ревизия
c5b8a871d2
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      app/Console/Commands/ExportZip.php

+ 4 - 3
app/Console/Commands/ExportZip.php

@@ -96,11 +96,12 @@ class ExportZip extends Command
                 ];
         }
 
-        $this->info('upload file='.$zipFile);
-        Log::debug('export offline: upload file {filename}',['filename'=>$zipFile]);
-
         $bucket = config('mint.attachments_bucket_name');
         $tmpFile =  $bucket.'/'. $zipFile ;
+
+        $this->info('upload file='.$tmpFile);
+        Log::debug('export offline: upload file {filename}',['filename'=>$tmpFile]);
+
         Storage::put($tmpFile, file_get_contents($zipFullFileName));
 
         $this->info('upload done file='.$tmpFile);