Add hint for saving config files + stop DB initialization if en error occurs

release-0.6
thomascube 17 years ago
parent f5e8d23e8e
commit c0dc9072c1

@ -26,7 +26,8 @@ $_SESSION['allowinstaller'] = true;
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"));

@ -305,6 +305,8 @@ class rcube_install
if (eregi(';$', trim($line))) {
$DB->query($buff);
$buff = '';
if ($this->get_error())
break;
}
}
}

Loading…
Cancel
Save