new option: TMP_DIRECTORY

master
Andrew Dolgov 19 years ago
parent 5bc0bd2701
commit 7d7cbaf5f8

@ -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) v1.1.2 (Jan 20, 2006)
* Support for feeds linked together * Support for feeds linked together

@ -68,5 +68,8 @@
define('ENABLE_FEED_BROWSER', true); define('ENABLE_FEED_BROWSER', true);
// Enable or disable local feed browser // Enable or disable local feed browser
define('TMP_DIRECTORY', '/tmp');
// Directory for temporary files
// vim:ft=php // vim:ft=php
?> ?>

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

Loading…
Cancel
Save