A free, self-hostable news aggregator…
PHP 7.1 tempnam warning fix (#2134)
Alexandre Alapetitef26b8f3f310d
diff --git a/app/Controllers/importExportController.php b/app/Controllers/importExportController.phpindex 9e485dd28..2d8d4e01d 100644--- a/app/Controllers/importExportController.php+++ b/app/Controllers/importExportController.php@@ -797,7 +797,7 @@ class FreshRSS_importExport_Controller extends Minz_ActionController {}// From https://stackoverflow.com/questions/1061710/php-zip-files-on-the-fly- $zip_file = tempnam('tmp', 'zip');+ $zip_file = @tempnam('/tmp', 'zip');$zip = new ZipArchive();$zip->open($zip_file, ZipArchive::OVERWRITE);