From 7d7cbaf5f84980d3089060630159ba7877bfe35f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 3 Feb 2006 09:20:40 +0100 Subject: [PATCH] new option: TMP_DIRECTORY --- NEWS | 5 +++++ config.php-dist | 3 +++ functions.php | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 8d270774..e34adb28 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +v1.1.3 (Feb xx, 2006) + + * Broken feed editor fixed + * Compatibility layer for mb_* functions + v1.1.2 (Jan 20, 2006) * Support for feeds linked together diff --git a/config.php-dist b/config.php-dist index 95086be7..10511992 100644 --- a/config.php-dist +++ b/config.php-dist @@ -67,6 +67,9 @@ define('ENABLE_FEED_BROWSER', true); // Enable or disable local feed browser + + define('TMP_DIRECTORY', '/tmp'); + // Directory for temporary files // vim:ft=php ?> diff --git a/functions.php b/functions.php index 6cc9b231..536f5d66 100644 --- a/functions.php +++ b/functions.php @@ -138,7 +138,7 @@ error_reporting (DEFAULT_ERROR_LEVEL); if ($r) { - $tmpfname = tempnam("/tmp", "ttrssicon"); + $tmpfname = tempnam(TMP_DIRECTORY, "ttrssicon"); $t = fopen($tmpfname, "w"); -- 2.39.5