summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
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");