aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/authController.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/authController.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/authController.php')
-rw-r--r--app/Controllers/authController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/authController.php b/app/Controllers/authController.php
index e8f6807bd..9f9d19623 100644
--- a/app/Controllers/authController.php
+++ b/app/Controllers/authController.php
@@ -239,7 +239,7 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController {
Minz_Error::error(403);
}
- $this->view->show_tos_checkbox = file_exists(join_path(DATA_PATH, 'tos.html'));
+ $this->view->show_tos_checkbox = file_exists(TOS_FILENAME);
$this->view->show_email_field = FreshRSS_Context::$system_conf->force_email_validation;
$this->view->preferred_language = Minz_Translate::getLanguage(null, Minz_Request::getPreferredLanguages(), FreshRSS_Context::$system_conf->language);
FreshRSS_View::prependTitle(_t('gen.auth.registration.title') . ' ยท ');