mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
Typo
This commit is contained in:
parent
fad1d2f335
commit
2f0d0dc042
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class Download
|
|||
// Start gathering the songs into a zip file.
|
||||
$zip = new ZipArchive();
|
||||
|
||||
// We use system's temp dir instead storage_path() here, so that the generated files
|
||||
// We use system's temp dir instead of storage_path() here, so that the generated files
|
||||
// can be cleaned up automatically after server reboot.
|
||||
$filename = rtrim(sys_get_temp_dir(), '/').'/koel-download-'.uniqid().'.zip';
|
||||
if ($zip->open($filename, ZipArchive::CREATE) !== true) {
|
||||
|
|
Loading…
Reference in a new issue