- Patch #69405 by dww: fixed update.php.
parent
cbe0081a8c
commit
45ff81b55c
|
@ -661,11 +661,14 @@ ini_set('display_errors', FALSE);
|
||||||
|
|
||||||
include_once './includes/bootstrap.inc';
|
include_once './includes/bootstrap.inc';
|
||||||
update_fix_system_table();
|
update_fix_system_table();
|
||||||
update_fix_access_table();
|
|
||||||
|
|
||||||
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
|
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
|
||||||
drupal_maintenance_theme();
|
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
|
// 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.
|
// not passed through the error handler) will cause a message to be printed.
|
||||||
ini_set('display_errors', TRUE);
|
ini_set('display_errors', TRUE);
|
||||||
|
|
Loading…
Reference in New Issue