mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-01 20:05:59 +00:00
- zip file name fix
This commit is contained in:
@@ -74,7 +74,7 @@ class Editor
|
|||||||
|
|
||||||
// Add files to zip
|
// Add files to zip
|
||||||
$files->each(function ($file) use ($zip, $files_directory) {
|
$files->each(function ($file) use ($zip, $files_directory) {
|
||||||
$zip->addString($file['name'], File::get(storage_path() . '/app/' . $files_directory . '/' . $file['basename']));
|
$zip->addString($file['name'] . '.' . $file['mimetype'], File::get(storage_path() . '/app/' . $files_directory . '/' . $file['basename']));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Close zip
|
// Close zip
|
||||||
|
|||||||
Reference in New Issue
Block a user