From 9ef849eb27075b30bc144a9f8a3baa040196c563 Mon Sep 17 00:00:00 2001 From: harshad389 Date: Fri, 5 Aug 2022 18:41:58 +0530 Subject: @tempnam in ExportService.php #4304 (#4489) * @tempnam in ExportService.php #4304 * Update CREDITS.md Change Name in alphabetic order Co-authored-by: Harshad --- app/Services/ExportService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Services/ExportService.php') 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); -- cgit v1.2.3