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 --- app/Controllers/userController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/userController.php') diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php index ac8f3be82..01656099c 100644 --- a/app/Controllers/userController.php +++ b/app/Controllers/userController.php @@ -318,7 +318,7 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController { ); } - $tos_enabled = file_exists(join_path(DATA_PATH, 'tos.html')); + $tos_enabled = file_exists(TOS_FILENAME); $accept_tos = Minz_Request::param('accept_tos', false); if ($system_conf->force_email_validation && empty($email)) { -- cgit v1.2.3