upgrade.php:

- add \n after "Upgrading database" lines - that makes the output readable 
  if setup.php is called in a console instead a webbrowser


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1345 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 14 years ago
parent 3fc6c84e13
commit 060b101d69

@ -146,7 +146,7 @@ function _do_upgrade($current_version) {
return true;
}
echo "<p>Updating database:</p><p>- old version: $current_version; target version: $target_version</p>";
echo "<p>Updating database:</p><p>- old version: $current_version; target version: $target_version</p>\n";
echo "<div style='color:#999'>&nbsp;&nbsp;(If the update doesn't work, run setup.php?debug=1 to see the detailed error messages and SQL queries.)</div>";
for ($i = $current_version +1; $i <= $target_version; $i++) {

Loading…
Cancel
Save