thomascube
2008-03-03 1c4e5dd4d201b599094a40e908ebcaa6de40ac05
Some more bugfixes for the install script

3 files modified
10 ■■■■ changed files
installer/check.php 2 ●●● patch | view | raw | blame | history
installer/config.php 6 ●●●● patch | view | raw | blame | history
installer/rcube_install.php 2 ●●● patch | view | raw | blame | history
installer/check.php
@@ -31,7 +31,7 @@
    'Mail_mime' => 'http://pear.php.net/package/Mail_mime'
);
echo '<input type="hidden" name="_step" value="' . ($RCI->configured ? 2 : 3) . '" />';
echo '<input type="hidden" name="_step" value="' . ($RCI->configured ? 3 : 2) . '" />';
?>
<h3>Checking PHP version</h3>
installer/config.php
@@ -251,9 +251,13 @@
<?php
$text_imaphost = new textfield(array('name' => '_default_host[]', 'size' => 30));
$default_hosts = $RCI->get_hostlist();
if (empty($default_hosts))
  $default_hosts = array('');
$i = 0;
foreach ($RCI->get_hostlist() as $host) {
foreach ($default_hosts 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>';
installer/rcube_install.php
@@ -79,7 +79,7 @@
   */
  function _load_config($suffix)
  {
    include '../config/main.inc' . $suffix;
    @include '../config/main.inc' . $suffix;
    if (is_array($rcmail_config)) {
      $this->config += $rcmail_config;
    }