summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-03 09:20:40 +0100
committerAndrew Dolgov <[email protected]>2006-02-03 09:20:40 +0100
commit7d7cbaf5f84980d3089060630159ba7877bfe35f (patch)
tree6ee79b547bb567452282b90d29f782ddd43e0098
parent5bc0bd2701e3ba62ae941f54838029280a29604d (diff)
new option: TMP_DIRECTORY
-rw-r--r--NEWS5
-rw-r--r--config.php-dist3
-rw-r--r--functions.php2
3 files changed, 9 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8d270774a..e34adb286 100644
--- a/NEWS
+++ b/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
diff --git a/config.php-dist b/config.php-dist
index 95086be7e..105119920 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -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
?>
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");