diff options
Diffstat (limited to 'app/Controllers/indexController.php')
| -rw-r--r-- | app/Controllers/indexController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index 968518e3f..9cb235d21 100644 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -282,13 +282,13 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController { } /** - * This action displays the EULA page of FreshRSS. + * This action displays the EULA/TOS (Terms of Service) page of FreshRSS. * This page is enabled only if admin created a data/tos.html file. * The content of the page is the content of data/tos.html. - * It returns 404 if there is no EULA. + * It returns 404 if there is no EULA/TOS. */ public function tosAction() { - $terms_of_service = file_get_contents(join_path(DATA_PATH, 'tos.html')); + $terms_of_service = file_get_contents(TOS_FILENAME); if (!$terms_of_service) { Minz_Error::error(404); } |
