]> git.wh0rd.org Git - tt-rss.git/commitdiff
new option: TMP_DIRECTORY
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 3 Feb 2006 08:20:40 +0000 (09:20 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 3 Feb 2006 08:20:40 +0000 (09:20 +0100)
NEWS
config.php-dist
functions.php

diff --git a/NEWS b/NEWS
index 8d270774a5efca933d78d11c26492a650c77e126..e34adb2869b0639e4593bd9e2ef2f35e1c250ba6 100644 (file)
--- 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
index 95086be7e2b918852011bc1dc236dd0f8246d5d2..1051199202c43c757dd4450d7072c8c8f7f5a676 100644 (file)
@@ -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
 ?>
index 6cc9b23107cd933b3b9c688372adc1d9ae9e3640..536f5d66dc8cf5a02c898c9bd1586099aa4b2e13 100644 (file)
                        error_reporting (DEFAULT_ERROR_LEVEL);
 
                        if ($r) {
-                               $tmpfname = tempnam("/tmp", "ttrssicon");
+                               $tmpfname = tempnam(TMP_DIRECTORY, "ttrssicon");
                        
                                $t = fopen($tmpfname, "w");