aboutsummaryrefslogtreecommitdiff
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
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>
-rw-r--r--CREDITS.md2
-rw-r--r--app/Services/ExportService.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/CREDITS.md b/CREDITS.md
index 10c18d000..bcf065c81 100644
--- a/CREDITS.md
+++ b/CREDITS.md
@@ -61,6 +61,7 @@ People are sorted by name so please keep this order.
* [Guillaume Hayot](https://github.com/postblue): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:postblue), [Web](https://postblue.info/)
* [Guillaume Pugnet](https://github.com/GuillaumePugnet): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:GuillaumePugnet)
* [happymacarts](https://github.com/happymacarts): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:happymacarts)
+* [Harshad Hirapara](https://github.com/harshad389): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:harshad389)
* [hesch](https://github.com/hesch): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:hesch)
* [hoilc](https://github.com/hoilc): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:hoilc)
* [ibiruai](https://github.com/ibiruai): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:ibiruai)
@@ -176,3 +177,4 @@ People are sorted by name so please keep this order.
* [xnaas](https://github.com/xnaas): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:xnaas), [Web](https://xnaas.info/)
* [Yamakuni](https://github.com/Yamakuni): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Yamakuni), [Web](https://ofanch.me/)
* [yzqzss|一座桥在水上](https://github.com/yzqzss): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:yzqzss), [Web](https://blog.othing.xyz/)
+
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);