aboutsummaryrefslogtreecommitdiff
path: root/constants.php
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-03-21 18:47:07 +0100
committerGravatar GitHub <noreply@github.com> 2023-03-21 18:47:07 +0100
commite679d3df0e55530c056d701b4773ff7e74f5c82c (patch)
tree38c69b91a41c05b3f5893b90e7f71077db95b4c0 /constants.php
parent34f62896ac729131dee25997307521bf259c5efc (diff)
Improved: show Terms of Service in config menu (#5215)
* Use constants for path to TOS * improve comments * TOS title moved to template * TOS available via config menu * CSS: improve handling of content of TOS/about * give info about set/unset TOS in system config * fix target * i18n FR * i18n DE
Diffstat (limited to 'constants.php')
-rw-r--r--constants.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/constants.php b/constants.php
index b4c129e87..ce67e7a91 100644
--- a/constants.php
+++ b/constants.php
@@ -46,6 +46,7 @@ defined('USERS_PATH') or define('USERS_PATH', DATA_PATH . '/users');
defined('LOG_FILENAME') or define('LOG_FILENAME', 'log.txt');
defined('ADMIN_LOG') or define('ADMIN_LOG', USERS_PATH . '/_/' . LOG_FILENAME);
defined('API_LOG') or define('API_LOG', USERS_PATH . '/_/log_api.txt');
+defined('TOS_FILENAME') or define('TOS_FILENAME', DATA_PATH . '/tos.html');
defined('CACHE_PATH') or define('CACHE_PATH', DATA_PATH . '/cache');
defined('PSHB_LOG') or define('PSHB_LOG', USERS_PATH . '/_/log_pshb.txt');
defined('PSHB_PATH') or define('PSHB_PATH', DATA_PATH . '/PubSubHubbub');
@@ -58,5 +59,5 @@ defined('EXTENSIONS_PATH') or define('EXTENSIONS_PATH', FRESHRSS_PATH . '/extens
//Directory used for feed mutex with *.freshrss.lock files. Must be writable.
defined('TMP_PATH') or define('TMP_PATH', sys_get_temp_dir());
-//clean the chacke after x hours (720 hours = 30 days)
+//clean the cache after x hours (720 hours = 30 days)
defined('CLEANCACHE_HOURS') or define('CLEANCACHE_HOURS', 720);