Changeset 1f7c934 for app/Http/Controllers/Dashboard/FoldersController.php
- Timestamp:
- 11/11/21 21:36:24 (3 years ago)
- Branches:
- master
- Children:
- 4d73966
- Parents:
- 90ab388
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Controllers/Dashboard/FoldersController.php
r90ab388 r1f7c934 286 286 } 287 287 } 288 288 289 $zip->close(); 289 290 $headers = array('Content-Type' => 'application/octet-stream',); 290 $zip_new_name = Carbon::now()->format('d.m.Y - H:i') . $folder->name . '.zip';291 $zip_new_name = Carbon::now()->format('d.m.Y - ') . $folder->name . '.zip'; 291 292 return response()->download($zip_file, $zip_new_name, $headers); 292 293 }
Note:
See TracChangeset
for help on using the changeset viewer.