summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/terms.inc.php.tpl
blob: 05e9f36d10d1c598026908a4b4060f1170d6108e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

    /* terms plugin */

    // 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 automatically afer x days
    \$rcmail_config['terms_renew'] = 28; // 0 = never

    // 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__));
    }

?>