summaryrefslogtreecommitdiffstats
path: root/share/templates/roundcubemail/managesieve.inc.php.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'share/templates/roundcubemail/managesieve.inc.php.tpl')
-rw-r--r--share/templates/roundcubemail/managesieve.inc.php.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/templates/roundcubemail/managesieve.inc.php.tpl b/share/templates/roundcubemail/managesieve.inc.php.tpl
index c1a9fa3..48fa544 100644
--- a/share/templates/roundcubemail/managesieve.inc.php.tpl
+++ b/share/templates/roundcubemail/managesieve.inc.php.tpl
@@ -10,4 +10,9 @@
\$rcmail_config['managesieve_replace_delimiter'] = '';
\$rcmail_config['managesieve_disabled_extensions'] = array();
\$rcmail_config['managesieve_debug'] = true;
+
+ if (file_exists(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__)) {
+ include_once(RCMAIL_CONFIG_DIR . '/' . \$_SERVER["HTTP_HOST"] . '/' . basename(__FILE__));
+ }
+
?>