From: Andrew Dolgov Date: Fri, 3 Feb 2006 08:20:40 +0000 (+0100) Subject: new option: TMP_DIRECTORY X-Git-Tag: 1.1.3~54 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7d7cbaf5f84980d3089060630159ba7877bfe35f;p=tt-rss.git new option: TMP_DIRECTORY --- 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");