summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/bootstrap.inc4
-rw-r--r--update.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 761952068..4db35b208 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -820,8 +820,8 @@ function _drupal_bootstrap($phase) {
switch ($phase) {
case 'database':
- global $db_url, $base_url;
- unset($conf);
+ global $db_url, $db_prefix, $base_url;
+ $conf = array();
require_once conf_init() .'/settings.php';
require_once './includes/database.inc';
// Initialize the default database.
diff --git a/update.php b/update.php
index aae141d4c..90eace13b 100644
--- a/update.php
+++ b/update.php
@@ -207,7 +207,7 @@ function update_info() {
if (isset($_GET["op"])) {
include_once "includes/bootstrap.inc";
- include_once "includes/common.inc";
+ drupal_bootstrap('full');
// Access check:
if (($access_check == 0) || ($user->uid == 1)) {