thomascube
2008-04-05 c0dc9072c142c4e8b70bc5545f24f6946d89a960
Add hint for saving config files + stop DB initialization if en error occurs

2 files modified
5 ■■■■ changed files
installer/config.php 3 ●●●● patch | view | raw | blame | history
installer/rcube_install.php 2 ●●●●● patch | view | raw | blame | history
installer/config.php
@@ -26,7 +26,8 @@
if (!empty($_POST['submit'])) {
  
  echo '<p class="notice">Copy the following configurations and save them in two files (names above the text box)';
  echo ' within the <tt>config/</tt> directory of your RoundCube installation.</p>';
  echo ' within the <tt>config/</tt> directory of your RoundCube installation.<br/>';
  echo ' Make sure that there are no characters outside the <tt>&lt;?php ?&gt;</tt> brackets when saving the files.</p>';
  
  $textbox = new textarea(array('rows' => 16, 'cols' => 60, 'class' => "configfile"));
  
installer/rcube_install.php
@@ -305,6 +305,8 @@
        if (eregi(';$', trim($line))) {
          $DB->query($buff);
          $buff = '';
          if ($this->get_error())
            break;
        }
      }
    }