From 7d7cbaf5f84980d3089060630159ba7877bfe35f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 3 Feb 2006 09:20:40 +0100 Subject: new option: TMP_DIRECTORY --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') 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"); -- cgit v1.2.3