aboutsummaryrefslogtreecommitdiff
path: root/app/Services/ExportService.php
diff options
context:
space:
mode:
authorGravatar harshad389 <harshad.389@gmail.com> 2022-08-05 18:41:58 +0530
committerGravatar GitHub <noreply@github.com> 2022-08-05 15:11:58 +0200
commit9ef849eb27075b30bc144a9f8a3baa040196c563 (patch)
treea2144add583fc4e7147f79e83dfd284144d2a557 /app/Services/ExportService.php
parent3b6ff675158cbcc448088f8284f7961ddb8d2db0 (diff)
@tempnam in ExportService.php #4304 (#4489)
* @tempnam in ExportService.php #4304 * Update CREDITS.md Change Name in alphabetic order Co-authored-by: Harshad <harshad@topsoinfosolutions.com>
Diffstat (limited to 'app/Services/ExportService.php')
-rw-r--r--app/Services/ExportService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php
index eb1ec3f84..b5630f57f 100644
--- a/app/Services/ExportService.php
+++ b/app/Services/ExportService.php
@@ -165,7 +165,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', 'zip');
$zip_archive = new ZipArchive();
$zip_archive->open($zip_file, ZipArchive::OVERWRITE);