1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-03 10:57:37 +00:00

add internal directories for cache & lockfiles

This commit is contained in:
Andrew Dolgov
2010-11-02 13:45:48 +03:00
parent c30543bb56
commit 2aae0cce7e
7 changed files with 9 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
// longer than 5 seconds to generate. To prevent failed
// updates, increase this.
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
define('MAGPIE_CACHE_DIR', 'cache/magpie');
// Local cache directory for RSS feeds
define('MAGPIE_CACHE_AGE', 60*30);
@@ -95,7 +95,7 @@
// 0 - Magpie
// 1 - SimplePie
define('SIMPLEPIE_CACHE_DIR', '/var/tmp/simplepie-ttrss-cache');
define('SIMPLEPIE_CACHE_DIR', 'cache/simplepie');
// Cache directory for RSS feeds when using SimplePie
define('SIMPLEPIE_CACHE_IMAGES', false);
@@ -134,7 +134,7 @@
// option can be used to integrate tt-rss with Apache's external
// authentication modules.
define('LOCK_DIRECTORY', '.');
define('LOCK_DIRECTORY', 'lock');
// Directory for lockfiles, must be writable to the user you run
// daemon process or cronjobs under.