A free, self-hostable news aggregator…
ZIP tempnam (#6392)
Alexandre Alapetite173555795adf
diff --git a/app/Services/ExportService.php b/app/Services/ExportService.phpindex e57359906..91c8c91e3 100644--- a/app/Services/ExportService.php+++ b/app/Services/ExportService.php@@ -154,7 +154,7 @@ class FreshRSS_Export_Service {$zip_filename = 'freshrss_' . $this->username . '_' . $day . '_export.zip';// From https://stackoverflow.com/questions/1061710/php-zip-files-on-the-fly- $zip_file = tempnam('/tmp', 'zip');+ $zip_file = tempnam(TMP_PATH, 'zip');if ($zip_file == false) {return [$zip_filename, false];}