summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/main.inc.php.tpl
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-04-16 10:51:20 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-04-16 10:51:20 +0100
commit8a2bbf2e0fb37cfccbd614a60ec3bcbb0e96be3a (patch)
treea21fdefa537f8ed4ed96fb8d92e0c8d7a447ca27 /share/templates/roundcubemail/main.inc.php.tpl
parent51f4a07fd283b03edfa8ba983f14f3f56c58faa7 (diff)
downloadpykolab-8a2bbf2e0fb37cfccbd614a60ec3bcbb0e96be3a.tar.gz
Adjust Roundcube templates to use RCUBE_* prefix as opposed to RCMAIL_* prefix
Diffstat (limited to 'share/templates/roundcubemail/main.inc.php.tpl')
-rw-r--r--share/templates/roundcubemail/main.inc.php.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/templates/roundcubemail/main.inc.php.tpl b/share/templates/roundcubemail/main.inc.php.tpl
index 9e4d14f..00edc0e 100644
--- a/share/templates/roundcubemail/main.inc.php.tpl
+++ b/share/templates/roundcubemail/main.inc.php.tpl
@@ -13,7 +13,7 @@
\$rcmail_config['sendmail_delay'] = 0;
\$rcmail_config['max_recipients'] = 0;
\$rcmail_config['max_group_members'] = 0;
- \$rcmail_config['useragent'] = 'Roundcube Webmail/'.RCMAIL_VERSION;
+ \$rcmail_config['useragent'] = 'Roundcube Webmail/'.RCUBE_VERSION;
\$rcmail_config['include_host_config'] = false;
\$rcmail_config['generic_message_footer'] = '';
\$rcmail_config['generic_message_footer_html'] = '';
@@ -111,8 +111,8 @@
'contextmenu',
);
- 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__));
}
// Re-apply mandatory settings here.