diff options
| author | 2024-04-27 22:44:33 +0200 | |
|---|---|---|
| committer | 2024-04-27 22:44:33 +0200 | |
| commit | 173555795adf6614dff33893b373f22542910675 (patch) | |
| tree | 9acc08146e3d49ae61b11aeaed10b33cf7dcaa2b /app/Services/ExportService.php | |
| parent | 5ca0b893b987c2b251666adc09f1d188fc3b0017 (diff) | |
ZIP tempnam (#6392)
fix https://github.com/FreshRSS/FreshRSS/issues/6388
Diffstat (limited to 'app/Services/ExportService.php')
| -rw-r--r-- | app/Services/ExportService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php index 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]; } |
