summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-08-31 17:56:07 +0000
committerDries Buytaert <dries@buytaert.net>2005-08-31 17:56:07 +0000
commit3029da00d62c20a4d97d668931bf9f0c918d1b09 (patch)
treeab718064581f1de27d848e371ca5ed1dbfcdf747 /update.php
parentd9d6a6e05c7a3c9d55e0e143e23489d7ed64be4b (diff)
downloadbrdo-3029da00d62c20a4d97d668931bf9f0c918d1b09.tar.gz
brdo-3029da00d62c20a4d97d668931bf9f0c918d1b09.tar.bz2
- Patch #29051 by mathias: made the update.php script work when Drupal is installed in a subdirectory.
Diffstat (limited to 'update.php')
-rw-r--r--update.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/update.php b/update.php
index 91887c195..d0f961efb 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 @@ if (isset($_GET["op"])) {
}
}
else {
+ drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);
$output = update_info_page();
}