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

4.7.x
Dries Buytaert 2005-08-31 17:56:07 +00:00
parent d9d6a6e05c
commit 3029da00d6
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}