Skip to content

Commit 75fe084

Browse files
authored
Add TOS and Privacy Policy global settings
1 parent 10ce758 commit 75fe084

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

system/application/config/local_settings.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,12 @@
103103
$config['book_msg_cookie_name'] = 'ci_hide_scalar_book_msg';
104104

105105
// Custom message displayed beneath the registration key field on the register page
106-
$config['registration_key_msg'] = '';
106+
$config['registration_key_msg'] = '';
107+
108+
// URLs to Terms of Service and Privacy Policy pages for all books on this install (displayed in footer if present).
109+
// Can be overridden on a per book basis in the Dashboard.
110+
$config['terms_of_service'] = '';
111+
$config['privacy_policy'] = '';
107112

108113
// LDAP authentication settings
109114
$config['use_ldap'] = (getenv('SCALAR_USE_LDAP') ? getenv('SCALAR_USE_LDAP') : false); // Default: off

0 commit comments

Comments
 (0)