summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/terms.inc.php.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'share/templates/roundcubemail/terms.inc.php.tpl')
-rw-r--r--share/templates/roundcubemail/terms.inc.php.tpl24
1 files changed, 14 insertions, 10 deletions
diff --git a/share/templates/roundcubemail/terms.inc.php.tpl b/share/templates/roundcubemail/terms.inc.php.tpl
index 5faa888..a5292f2 100644
--- a/share/templates/roundcubemail/terms.inc.php.tpl
+++ b/share/templates/roundcubemail/terms.inc.php.tpl
@@ -1,18 +1,22 @@
<?php
-/* terms plugin */
+ /* terms plugin */
-// log accepted terms
-\$rcmail_config['terms_log'] = true;
+ // log accepted terms
+ \$rcmail_config['terms_log'] = true;
-// renew agreement if older than YYYY-MM-DD HH:MM:SS
-// NOTICE: Must be in past and set accordingly to server Timezone!!!
-\$rcmail_config['terms_date'] = '2011-02-24 00:00:00';
+ // renew agreement if older than YYYY-MM-DD HH:MM:SS
+ // NOTICE: Must be in past and set accordingly to server Timezone!!!
+ \$rcmail_config['terms_date'] = '2011-02-24 00:00:00';
-// renew agreement automatically afer x days
-\$rcmail_config['terms_renew'] = 28; // 0 = never
+ // renew agreement automatically afer x days
+ \$rcmail_config['terms_renew'] = 28; // 0 = never
-// always request terms agreement after login
-\$rcmail_config['terms_always'] = false;
+ // always request terms agreement after login
+ \$rcmail_config['terms_always'] = false;
+
+ if (file_exists(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__)) {
+ include_once(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__));
+ }
?>