diff options
author | Andrew Dolgov <[email protected]> | 2006-02-03 09:20:40 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-02-03 09:20:40 +0100 |
commit | 7d7cbaf5f84980d3089060630159ba7877bfe35f (patch) | |
tree | 6ee79b547bb567452282b90d29f782ddd43e0098 | |
parent | 5bc0bd2701e3ba62ae941f54838029280a29604d (diff) |
new option: TMP_DIRECTORY
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | config.php-dist | 3 | ||||
-rw-r--r-- | functions.php | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -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 95086be7e..105119920 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 6cc9b2310..536f5d66d 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"); |