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 +-
 1 files changed, 1 insertions(+), 1 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;

--
Gitblit v1.9.1