You are here

function update_info_page in Drupal 4

Same name and namespace in other branches
  1. 5 update.php \update_info_page()
  2. 6 update.php \update_info_page()
  3. 7 update.php \update_info_page()
1 call to update_info_page()
update.php in ./update.php
Administrative page for handling updates from one Drupal version to another.

File

./update.php, line 537
Administrative page for handling updates from one Drupal version to another.

Code

function update_info_page() {
  drupal_set_title('Drupal database update');
  $output = "<ol>\n";
  $output .= "<li>Use this script to <strong>upgrade an existing Drupal installation</strong>. You don't need this script when installing Drupal from scratch.</li>";
  $output .= "<li>Before doing anything, backup your database. This process will change your database and its values, and some things might get lost.</li>\n";
  $output .= "<li>Update your Drupal sources, check the notes below and <a href=\"update.php?op=selection\">run the database upgrade script</a>. Don't upgrade your database twice as it may cause problems.</li>\n";
  $output .= "<li>Go through the various administration pages to change the existing and new settings to your liking.</li>\n";
  $output .= "</ol>";
  $output .= '<p>For more help, see the <a href="http://drupal.org/node/258">Installation and upgrading handbook</a>. If you are unsure what these terms mean you should probably contact your hosting provider.</p>';
  return $output;
}