diff options
Diffstat (limited to 'share/templates/roundcubemail/terms.inc.php.tpl')
-rw-r--r-- | share/templates/roundcubemail/terms.inc.php.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/templates/roundcubemail/terms.inc.php.tpl b/share/templates/roundcubemail/terms.inc.php.tpl index 05e9f36..97dd9f4 100644 --- a/share/templates/roundcubemail/terms.inc.php.tpl +++ b/share/templates/roundcubemail/terms.inc.php.tpl @@ -15,8 +15,8 @@ // 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__)); + if (file_exists(RCUBE_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__))) { + include_once(RCUBE_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__)); } ?> |