- Patch #69405 by dww: fixed update.php.

5.x
Dries Buytaert 2006-06-20 21:15:44 +00:00
parent cbe0081a8c
commit 45ff81b55c
1 changed files with 4 additions and 1 deletions

View File

@ -661,11 +661,14 @@ ini_set('display_errors', FALSE);
include_once './includes/bootstrap.inc';
update_fix_system_table();
update_fix_access_table();
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
drupal_maintenance_theme();
// This must happen *after* drupal_bootstrap(), since it calls
// variable_(get|set), which only works after a full bootstrap.
update_fix_access_table();
// Turn error reporting back on. From now on, only fatal errors (which are
// not passed through the error handler) will cause a message to be printed.
ini_set('display_errors', TRUE);