mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 00:45:56 +00:00
add internal directories for cache & lockfiles
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
config.php
|
config.php
|
||||||
|
cache/*/*
|
||||||
|
lock/*
|
||||||
|
|||||||
2
cache/.htaccess
vendored
Normal file
2
cache/.htaccess
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
0
cache/magpie/.empty
vendored
Normal file
0
cache/magpie/.empty
vendored
Normal file
0
cache/simplepie/.empty
vendored
Normal file
0
cache/simplepie/.empty
vendored
Normal file
@@ -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
lock/.empty
Normal file
0
lock/.empty
Normal file
2
lock/.htaccess
Normal file
2
lock/.htaccess
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
Reference in New Issue
Block a user