From 058eb6cd7002e066d037063d60f0a3ad27fe67c7 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 03 Jun 2010 04:09:46 -0400 Subject: [PATCH] - support dynamic hostname variables in config --- installer/rcube_install.php | 2 +- installer/test.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/rcube_install.php b/installer/rcube_install.php index 580aba8..afd4224 100644 --- a/installer/rcube_install.php +++ b/installer/rcube_install.php @@ -466,7 +466,7 @@ 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 e75ef27..5fb2c41 100644 --- a/installer/test.php +++ b/installer/test.php @@ -214,7 +214,7 @@ <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 -- Gitblit v1.9.1