add internal directories for cache & lockfiles

master
Andrew Dolgov 14 years ago
parent c30543bb56
commit 2aae0cce7e

2
.gitignore vendored

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

2
cache/.htaccess vendored

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

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

@ -0,0 +1,2 @@
Order deny,allow
Deny from all
Loading…
Cancel
Save