diff options
Diffstat (limited to 'program/include/rcube_config.php')
-rw-r--r-- | program/include/rcube_config.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php index e14dcb85a..5cc8571c9 100644 --- a/program/include/rcube_config.php +++ b/program/include/rcube_config.php @@ -369,11 +369,13 @@ class rcube_config if (isset($this->prop['mail_domain'][$host])) $domain = $this->prop['mail_domain'][$host]; } - else if (!empty($this->prop['mail_domain'])) - $domain = rcmail::parse_host($this->prop['mail_domain']); + else if (!empty($this->prop['mail_domain'])) { + $domain = rcube_utils::parse_host($this->prop['mail_domain']); + } - if ($encode) - $domain = rcube_idn_to_ascii($domain); + if ($encode) { + $domain = rcube_utils::idn_to_ascii($domain); + } return $domain; } |