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

2
.gitignore vendored
View File

@ -1 +1,3 @@
config.php
cache/*/*
lock/*

2
cache/.htaccess vendored Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all

0
cache/magpie/.empty vendored Normal file
View File

0
cache/simplepie/.empty vendored Normal file
View File

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.

0
lock/.empty Normal file
View File

2
lock/.htaccess Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all