diff options
| author | Andrew Dolgov <fox@madoka.spb.ru> | 2006-02-03 09:20:40 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.spb.ru> | 2006-02-03 09:20:40 +0100 |
| commit | 7d7cbaf5f84980d3089060630159ba7877bfe35f (patch) | |
| tree | 6ee79b547bb567452282b90d29f782ddd43e0098 /functions.php | |
| parent | 5bc0bd2701e3ba62ae941f54838029280a29604d (diff) | |
new option: TMP_DIRECTORY
Diffstat (limited to 'functions.php')
| -rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |