From e679d3df0e55530c056d701b4773ff7e74f5c82c Mon Sep 17 00:00:00 2001 From: maTh Date: Tue, 21 Mar 2023 18:47:07 +0100 Subject: 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 --- constants.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'constants.php') 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); -- cgit v1.2.3