summaryrefslogtreecommitdiff
path: root/installer/config.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-02-28 22:59:02 +0000
committerthomascube <thomas@roundcube.net>2008-02-28 22:59:02 +0000
commit112c54ffbbfd65d2d76ce2526b77407f7fb067b8 (patch)
tree1de27f56d95eb86e6084b10d9b3dbf56800424e0 /installer/config.php
parent4a2765a42066e1d30895ebe986a64d55b63ddafa (diff)
Fix imap host selection in install script
Diffstat (limited to 'installer/config.php')
-rw-r--r--installer/config.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/installer/config.php b/installer/config.php
index 97052c8da..9d22c28dd 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -250,14 +250,10 @@ echo $select_dbba->show($RCI->getprop('db_backend'));
<div id="defaulthostlist">
<?php
-$default_hosts = (array)$RCI->getprop('default_host');
$text_imaphost = new textfield(array('name' => '_default_host[]', 'size' => 30));
$i = 0;
-foreach ($default_hosts as $key => $name) {
- if (empty($name))
- continue;
- $host = is_numeric($key) ? $name : $key;
+foreach ($RCI->get_hostlist() as $host) {
echo '<div id="defaulthostentry'.$i.'">' . $text_imaphost->show($host);
if ($i++ > 0)
echo '<a href="#" onclick="removehostfield(this.parentNode);return false" class="removelink" title="Remove this entry">remove</a>';