mirror of
https://github.com/koel/koel
synced 2024-12-01 00:09:17 +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.
|
// Start gathering the songs into a zip file.
|
||||||
$zip = new ZipArchive();
|
$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.
|
// can be cleaned up automatically after server reboot.
|
||||||
$filename = rtrim(sys_get_temp_dir(), '/').'/koel-download-'.uniqid().'.zip';
|
$filename = rtrim(sys_get_temp_dir(), '/').'/koel-download-'.uniqid().'.zip';
|
||||||
if ($zip->open($filename, ZipArchive::CREATE) !== true) {
|
if ($zip->open($filename, ZipArchive::CREATE) !== true) {
|
||||||
|
|
Loading…
Reference in a new issue