new option: TMP_DIRECTORY
This commit is contained in:
parent
5bc0bd2701
commit
7d7cbaf5f8
5
NEWS
5
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
|
||||
|
|
|
@ -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
|
||||
?>
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
error_reporting (DEFAULT_ERROR_LEVEL);
|
||||
|
||||
if ($r) {
|
||||
$tmpfname = tempnam("/tmp", "ttrssicon");
|
||||
$tmpfname = tempnam(TMP_DIRECTORY, "ttrssicon");
|
||||
|
||||
$t = fopen($tmpfname, "w");
|
||||
|
||||
|
|
Loading…
Reference in New Issue