- support dynamic hostname variables in config

release-0.6
alecpl 15 years ago
parent bb8721aaeb
commit 058eb6cd70

@ -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;

@ -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

Loading…
Cancel
Save