From dcf21363a62c8f661e5e67baa0c6ffbed02cf263 Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 28 Feb 2008 22:59:02 +0000 Subject: Fix imap host selection in install script git-svn-id: https://svn.roundcube.net/trunk@1158 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/installer/config.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'roundcubemail/installer/config.php') diff --git a/roundcubemail/installer/config.php b/roundcubemail/installer/config.php index 97052c8da..9d22c28dd 100644 --- a/roundcubemail/installer/config.php +++ b/roundcubemail/installer/config.php @@ -250,14 +250,10 @@ echo $select_dbba->show($RCI->getprop('db_backend'));
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 '
' . $text_imaphost->show($host); if ($i++ > 0) echo 'remove'; -- cgit v1.2.3