update.php

Version 1.317 (checked in on 2010/03/06 at 06:31:23 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
MAINTENANCE_MODEGlobal flag to identify update.php run, and so avoid various unwanted operations, such as hook_init() and hook_exit() invokes, css/js preprocessing and translation, and solve some theming issues. This flag is checked on several places in Drupal code...

Functions

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.