update.php

Version 1.329 (checked in on 2011/02/21 at 20:05:26 by dries)

Administrative page for handling updates from one Drupal version to another.

Point your browser to "http://www.example.com/update.php" and follow the instructions.

If you are not logged in using either the site maintenance account or an account with the "Administer software updates" permission, you will need to modify the access check statement inside your settings.php file. After finishing the upgrade, be sure to open settings.php again, and change it back to its original state!

Constants

NameDescription
DRUPAL_ROOTRoot directory of Drupal installation.
MAINTENANCE_MODEGlobal flag indicating that update.php is being run.

Functions & methods

NameDescription
update_access_allowedDetermines if the current user is allowed to run update.php.
update_access_denied_page
update_check_requirementsCheck update requirements and report any errors.
update_extra_requirementsReturns (and optionally stores) extra requirements that only apply during particular parts of the update.php process.
update_helpful_links
update_info_page
update_results_page
update_script_selection_form
update_selection_page
update_task_listAdd the update task list to the current page.