From a43d760ff43a38475367adf1f151d80cf17e61e0 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 3 Jun 2010 08:09:46 +0000 Subject: - support dynamic hostname variables in config git-svn-id: https://svn.roundcube.net/trunk@3702 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/installer/rcube_install.php | 2 +- roundcubemail/installer/test.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roundcubemail/installer/rcube_install.php b/roundcubemail/installer/rcube_install.php index 580aba858..afd422433 100644 --- a/roundcubemail/installer/rcube_install.php +++ b/roundcubemail/installer/rcube_install.php @@ -466,7 +466,7 @@ class rcube_install foreach ($default_hosts as $key => $name) { if (!empty($name)) - $out[] = is_numeric($key) ? $name : $key; + $out[] = rcube_parse_host(is_numeric($key) ? $name : $key); } return $out; diff --git a/roundcubemail/installer/test.php b/roundcubemail/installer/test.php index e75ef2770..5fb2c41f0 100644 --- a/roundcubemail/installer/test.php +++ b/roundcubemail/installer/test.php @@ -214,7 +214,7 @@ if ($db_working) {

Test SMTP config

-Server: getprop('smtp_server', 'PHP mail()'); ?>
+Server: getprop('smtp_server', 'PHP mail()')); ?>
Port: getprop('smtp_port'); ?>