summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/main.inc.php.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'share/templates/roundcubemail/main.inc.php.tpl')
-rw-r--r--share/templates/roundcubemail/main.inc.php.tpl11
1 files changed, 2 insertions, 9 deletions
diff --git a/share/templates/roundcubemail/main.inc.php.tpl b/share/templates/roundcubemail/main.inc.php.tpl
index 9049e2e..ba6c1e9 100644
--- a/share/templates/roundcubemail/main.inc.php.tpl
+++ b/share/templates/roundcubemail/main.inc.php.tpl
@@ -110,9 +110,8 @@
'contextmenu',
);
-
- if (file_exists(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/main.inc.php')) {
- include_once(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/main.inc.php');
+ if (file_exists(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__)) {
+ include_once(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__));
}
// Re-apply mandatory settings here.
@@ -133,7 +132,6 @@
\$rcmail_config['smtp_debug'] = true;
\$rcmail_config['product_name'] = 'Kolab Groupware';
-
\$rcmail_config['skin'] = 'larry';
\$rcmail_config['skin_logo'] = 'skins/kolab/images/kolab_logo.png';
\$rcmail_config['skin_include_php'] = false;
@@ -263,9 +261,4 @@
\$rcmail_config['autocomplete_single'] = true;
\$rcmail_config['htmleditor'] = 0;
-
- include_once("/etc/roundcubemail/kolab_auth.inc.php");
-
- \$rcmail_config['kolab_cache'] = true;
-
?>