summaryrefslogtreecommitdiff
path: root/program/include/rcube_config.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-16 11:02:21 +0000
committeralecpl <alec@alec.pl>2012-04-16 11:02:21 +0000
commit1aceb9cec82639250a603aa0806f0399f7bae68d (patch)
tree1fbeab49d53b6dccbc4230d73155e83e5547b264 /program/include/rcube_config.php
parent4372e9278011452ec8723fa4434e1d3ade726213 (diff)
- Framework refactoring (I hope it's the last one):
rcube,rcmail,rcube_ui -> rcube,rcmail,rcube_utils renamed main.inc into rcube_bc.inc
Diffstat (limited to 'program/include/rcube_config.php')
-rw-r--r--program/include/rcube_config.php10
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;
}