diff options
author | alecpl <alec@alec.pl> | 2010-06-03 08:09:46 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-06-03 08:09:46 +0000 |
commit | 058eb6cd7002e066d037063d60f0a3ad27fe67c7 (patch) | |
tree | 72a1c838d983910f0f083d943e1301d22ba70338 | |
parent | bb8721aaeb4961f0dee8ca250749906e01a8f6a8 (diff) |
- support dynamic hostname variables in config
-rw-r--r-- | installer/rcube_install.php | 2 | ||||
-rw-r--r-- | installer/test.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php index 580aba858..afd422433 100644 --- a/installer/rcube_install.php +++ b/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/installer/test.php b/installer/test.php index e75ef2770..5fb2c41f0 100644 --- a/installer/test.php +++ b/installer/test.php @@ -214,7 +214,7 @@ if ($db_working) { <h3>Test SMTP config</h3> <p> -Server: <?php echo $RCI->getprop('smtp_server', 'PHP mail()'); ?><br /> +Server: <?php echo rcube_parse_host($RCI->getprop('smtp_server', 'PHP mail()')); ?><br /> Port: <?php echo $RCI->getprop('smtp_port'); ?><br /> <?php |