aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/userController.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 /app/Controllers/userController.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 'app/Controllers/userController.php')
-rw-r--r--app/Controllers/userController.php2
1 files changed, 1 insertions, 1 deletions
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)) {