Commit 3029da00 authored by Dries's avatar Dries
Browse files

- Patch #29051 by mathias: made the update.php script work when Drupal is...

- Patch #29051 by mathias: made the update.php script work when Drupal is installed in a subdirectory.
parent d9d6a6e0
......@@ -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();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment