1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-22 11:36:38 +02:00

new option: TMP_DIRECTORY

This commit is contained in:
Andrew Dolgov 2006-02-03 09:20:40 +01:00
parent 5bc0bd2701
commit 7d7cbaf5f8
3 changed files with 9 additions and 1 deletions

5
NEWS
View File

@ -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

View File

@ -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
?>

View File

@ -138,7 +138,7 @@
error_reporting (DEFAULT_ERROR_LEVEL);
if ($r) {
$tmpfname = tempnam("/tmp", "ttrssicon");
$tmpfname = tempnam(TMP_DIRECTORY, "ttrssicon");
$t = fopen($tmpfname, "w");