From 3029da00d62c20a4d97d668931bf9f0c918d1b09 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Wed, 31 Aug 2005 17:56:07 +0000
Subject: [PATCH] - Patch #29051 by mathias: made the update.php script work
 when Drupal is installed in a subdirectory.

---
 update.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/update.php b/update.php
index 91887c1957b8..d0f961efbf3d 100644
--- a/update.php
+++ b/update.php
@@ -101,6 +101,7 @@ function update_access_denied_page() {
 
 include_once './includes/bootstrap.inc';
 drupal_maintenance_theme();
+
 if (isset($_GET["op"])) {
   drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
 
@@ -122,6 +123,7 @@ function update_access_denied_page() {
   }
 }
 else {
+  drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);
   $output = update_info_page();
 }
 
-- 
GitLab