diff --git a/.htaccess.sample b/.htaccess.sample index f8135d45af313187c8c94c29df4e4392ef95c1b4..21a953ed5f2b5d608c20f558c31dbcd5175a6a52 100644 --- a/.htaccess.sample +++ b/.htaccess.sample @@ -65,6 +65,8 @@ DirectoryIndex index.php index.html index.htm # THIS SECTION IS AUTOMATICALY GENERATED. # DO NOT EDIT!!!! + RewriteRule .*/update.php update.php + # %UNL_CREATION_TOOL_STUB% # END AUTOMATICALLY GENERATED AREA. diff --git a/update.php b/update.php index 8a0adfc2ba969bf77cfa50a7c7c404b84abb0d14..588865f56889a22140fb126d8c32d1dce47a0437 100644 --- a/update.php +++ b/update.php @@ -330,12 +330,14 @@ ini_set('display_errors', FALSE); // We prepare a minimal bootstrap for the update requirements check to avoid // reaching the PHP memory limit. +require_once DRUPAL_ROOT . '/includes/unl_bootstrap.inc'; require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; require_once DRUPAL_ROOT . '/includes/update.inc'; require_once DRUPAL_ROOT . '/includes/common.inc'; require_once DRUPAL_ROOT . '/includes/file.inc'; require_once DRUPAL_ROOT . '/includes/entity.inc'; require_once DRUPAL_ROOT . '/includes/unicode.inc'; +unl_bootstrap(); update_prepare_d7_bootstrap(); // Determine if the current user has access to run update.php.